What problem does it solve?
The skill-security-auditor eliminates the risk of installing malicious or unsafe AI agent skills by statically scanning skill packages and repositories for code execution risks, prompt injection, supply-chain issues, and filesystem boundary violations before installation.
Core Features & Use Cases
- Static code scanning for Python, shell, and JavaScript files to detect eval/exec, shell injection, raw sockets, and obfuscation patterns.
- Prompt injection detection in SKILL.md and markdown references to find override directives, hidden characters, and exfiltration instructions.
- Dependency and supply-chain checks for requirements, pyproject.toml, and package.json including typosquatting and unpinned versions.
- CI/Pre-install gating: integrate into CI pipelines to block risky skills and produce structured PASS/WARN/FAIL reports with remediation guidance.
- Use Case: A platform operator audits third-party skills submitted to a marketplace and automatically rejects those with critical findings.
Quick Start
Run the skill_security_auditor script on a local skill directory or remote git URL to generate a structured audit report with a PASS/WARN/FAIL verdict and remediation guidance.