ansible-validator

Warn

Audited by Socket on Sep 15, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
test/playbooks/bad-playbook.yml

The playbook is not demonstrably malware, but it contains several material security and operational weaknesses. The highest-risk issues are shell command injection through user_file, disabled TLS certificate validation, hardcoded credential storage, and a world-writable executable placed in a system path. The code should be remediated before deployment by using Ansible modules instead of shell where possible, validating or safely quoting inputs, using Ansible Vault or an external secret manager, enabling certificate validation, assigning restrictive ownership and modes, and correcting handler and OS conditions.

Confidence: 98%Severity: 82%
SecurityMEDIUM
test/roles/geerlingguy.mysql/defaults/main.yml

No malicious behavior or obfuscation is present. The configuration has significant security weaknesses if deployed without overrides: weak plaintext root credentials, possible credential file storage, and MySQL listening on all interfaces. Secrets should be supplied through Ansible Vault or another secret manager, strong unique passwords should be enforced, and network binding should be restricted where possible.

Confidence: 99%Severity: 78%
Audit Metadata
Analyzed At
Sep 15, 2026, 02:28 PM
Package URL
pkg:socket/skills-sh/akin-ozer%2Fcc-devops-skills%2Fansible-validator%2F@fbdc09e6393f510e89e7a3f6d6b6f0017a9fb754a470b6c0716d15ca6bdfcc57