agents-skill-security-audit
di cerbug45
CLI UtilitiesSintesi
Minimal helper to audit skill.md-style instructions for supply-chain risks.
Descrizione
Cosa fa questa skill
Scans skill.md-style instruction files for supply-chain risks using heuristic pattern matching. It flags exfiltration patterns such as HTTP POST requests, curl calls to unknown domains, reads of sensitive files like ~/.env, and credential keywords. Output is a markdown report with a risk level.
It targets the specific structure of skill.md instruction files rather than running generic secrets scanning, so it catches context-aware patterns like credential reads embedded in agent prompts.
Quando usarla
- Checking a third-party skill file before installing it
- Auditing new agent instructions added to a shared team repo
- Scanning downloaded SKILL.md files before running them locally
- Adding a skill file check to a CI pipeline before merging
- Spot-checking an AI agent prompt file for credential leaks
Esempio di workflow
User asks: audit this skill.md for supply-chain risks
- 1
Receives the path to the skill.md file
- 2
Runs audit.py against the file using heuristic pattern matching
- 3
Scans for HTTP POST calls, curl to unknown domains, ~/.env reads, and credential keywords
- 4
Builds a permission manifest listing filesystem and network touches found
- 5
Outputs a markdown summary with an overall risk level
Markdown report listing flagged patterns and an overall risk level rating
Installazione
clawhub install cerbug45/agents-skill-security-auditEsegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.