skill-security-audit
Objective
Perform a strict security audit for a target skill directory and output a deterministic verdict:
PASSREVIEWBLOCK
No whitelist bypass by default.
Inputs
- Target directory (required)
- Rules file (optional, default:
references/security-rules.json) - Output path (optional)
Workflow
- Run local static audit:
python3 scripts/skill_security_audit.py <target_dir> --out SECURITY-REPORT.generated.json
- (Optional but recommended) Run MCP engine scan:
bash scripts/run_mcp_scan.sh <target_dir> mcp-scan-report.json
- Determine admission decision:
- Any
BLOCKfinding => reject admission - Score >= 85 and no
BLOCK=> pass - Otherwise => manual review
Output Contract
Must include:
- verdict
- score
- high_risk_count
- review_count
- findings[] with evidence schema (
references/evidence-schema.json)
Admission Policy
- New skills must be audited before entering
skills/ - This audit is strict mode by default (no bypass)
- Keep evidence traceable (path + line + snippet + fix hint)
References
references/security-rules.jsonreferences/evidence-schema.jsonreferences/whitelist-policy.md