Repository navigation
agentscan 1.0.0
First release. Static security scanner for AI-agent configuration — zero dependencies, offline, CI-ready.
Detects
- Permission bypass (
bypassPermissions,--dangerously-skip-permissions,Bash(*)) - MCP servers that are RCE by design (shell commands, broad filesystem roots)
- Auto-run hooks, leaked API keys, and indirect-prompt-injection boundary gaps
- Unpinned
npx -y/ remote MCP endpoints
Use
pipx install .
agentscan . --fail-on HIGH # CI gate
agentscan . --format markdown -o report.md
agentscan . --rules org-rules.json # pluggable custom rulesCovers Claude Code, Cursor, Cline/Roo, Windsurf, and Copilot config. MIT licensed.