agent-security-scanner-mcp
by sinewaveai·★ 101·Score 49
MCP security scanner for AI coding agents with prompt injection protection, package hallucination detection, vulnerability scanning, and auto-fix capabilities.
Overview
The agent-security-scanner-mcp provides comprehensive security scanning for AI coding agents and autonomous assistants. It offers two versions: a lightweight ProofLayer scanner (81.5KB, 4-second install) with 400+ security rules, and a full enterprise-grade version with AST analysis, taint tracking, and LLM-powered semantic code review. The scanner includes tools for detecting vulnerabilities, preventing AI-hallucinated packages, blocking prompt injection attacks, and generating compliance reports. It integrates with multiple AI clients through MCP and provides CLI functionality for CI/CD pipelines.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose this when building secure AI coding agents or autonomous assistants that need protection against code injection, prompt attacks, and supply chain vulnerabilities.
When NOT to choose this
Avoid if you need support for languages not in the 12-language list, or if you're looking for a solution without Python dependency (the advanced version requires Python).
Tools this server exposes
12 tools extracted from the READMEscan_securityScan code for vulnerabilities (1700+ rules, 12 languages) with AST and taint analysis
fix_securityAuto-fix all detected vulnerabilities (120 fix templates)
scan_git_diffScan only changed files in git diff
scan_projectScan entire project with A-F security grading
check_packageVerify a package name isn't AI-hallucinated (4.3M+ packages)
scan_packagesBulk-check all imports in a file for hallucinated packages
scan_agent_promptDetect prompt injection with bypass hardening (59 rules + multi-encoding)
scan_agent_actionPre-execution safety check for agent actions (bash, file ops, HTTP)
scan_mcp_serverScan MCP server source for vulnerabilities: unicode poisoning, name spoofing
scan_skillDeep security scan of an OpenClaw skill: prompt injection, AST+taint code analysis
sbom_generateGenerate CycloneDX v1.5 SBOM for a project
evaluate_complianceEvaluate project against compliance frameworks with evidence collection
Comparable tools
Installation
Install via npm:
npm install -g agent-security-scanner-mcpOr use the lightweight version:
npm install -g @prooflayer/security-scannerFor Claude Desktop integration, run:
npx agent-security-scanner-mcp init claude-codeThis will create a Claude Desktop configuration to enable the MCP server.
FAQ
- What AI clients does this scanner support?
- The scanner supports Claude Code, Cursor, Windsurf, Cline, Claude Desktop, kilo-code, opencode, and cody through MCP integration. It also provides a standalone CLI (OpenClaw) for CI/CD pipelines.
- How does it detect AI-hallucinated packages?
- The scanner maintains a database of 4.3M+ legitimate packages and uses bloom filters for verification. When checking imports, it flags any package not found in official registries as potentially hallucinated.
Compare agent-security-scanner-mcp with
Last updated · Auto-generated from public README + GitHub signals.