About Agent Security Scanner MCP
Agent Security Scanner MCP is an MCP server published by sinewaveai in the Developer Tools category: security scanner MCP server for AI coding agents. Prompt injection firewall, package hallucination detection (4.3M+ packages), 1000+ vulnerability rules with AST & taint analysis, auto-fix. Conduid read 24 tools from its source: check_package, clawproof_health, deep_audit, evaluate_compliance, fix_security, get_compliance_controls and 18 more. It is published to npm as agent-security-scanner-mcp and starts with npx.
The repository has 124 stars and 13 forks, is licensed MIT, and its last commit was on 18 Oct 2026. The latest release is v4.4.5 (22 Jun 2026): Summary Empty patch release. It follows v4.4.4 (22 Jun 2026), and the 5 most recent releases go back to v4.4.0 (12 May 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include auto-fix, cline, ai-security, hallucination-detection, devtools and agent-security.
Install
claude mcp add agent-security-scanner-mcp -- npx -y agent-security-scanner-mcpnpx -y agent-security-scanner-mcpgit clone https://github.com/sinewaveai/agent-security-scanner-mcpTools (24)
check_packageCheck if a package name is legitimate or potentially hallucinated (AI-invented)| Parameter | Type | Description |
|---|---|---|
| ecosystem * | string | The package ecosystem (dart=pub.dev, perl=CPAN, raku=raku.land, npm=npmjs, pypi=PyPI, rubygems=RubyGems, crates=crates.io) |
| package_name * | string | The package name to verify |
clawproof_healthAlias for scanner_health (deprecated, use scanner_health instead)deep_auditOptional LLM-powered deep security audit. Sends code to an AI model for analysis beyond what regex rules can detect. Requires API key and explicit consent (PROOFLAYER_LLM_CONSENT=1).evaluate_complianceEvaluate a project against compliance frameworks (SOC2-technical, GDPR-technical, AIUC-1). Collects evidence from code scans, SBOM, vulnerability checks, and hallucination detection, then evaluates controls. Optionally saves timestamped evidence bundle.fix_securityScan a file and return the fixed content with all security issues resolved| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the file to fix |
get_compliance_controlsLook up compliance controls with evaluation criteria. Supports multiple frameworks: aiuc-1 (default), soc2-technical, gdpr-technical. Filter by domain, control IDs, or OWASP LLM tags.inspect_mcp_serverLaunch a live MCP server process, connect via stdio, call tools/list, and scan returned tool definitions for poisoning (description injection, name spoofing, unicode attacks, schema manipulation). Read-only probe — never calls any tools.list_package_statsList statistics about loaded package lists for hallucination detectionlist_security_rulesList all available security fix templates and their descriptionssbom_check_hallucinationsCheck all packages in an SBOM against official registries to detect hallucinated (AI-invented) package names. Supports npm, pypi, rubygems, dart, perl, raku, crates. Go/Java marked as unsupported.sbom_diffCompare current project SBOM against a stored baseline. Reports added, removed, and version-changed packages. Use save_baseline=true to create initial baseline.sbom_export_reportGenerate an HTML or JSON audit report from SBOM data, optionally enriched with vulnerability scan results. Suitable for PCI-DSS and compliance audits.sbom_generateGenerate a CycloneDX v1.5 SBOM for a project. Discovers all dependencies (direct + transitive) from lock files and manifests across Node.js, Python, Go, Rust, Ruby, Java. Use verbosity='minimal' for counts, 'compact' (default) for component list, 'full' for complete CycloneDX JSON.sbom_scan_vulnerabilitiesCross-reference SBOM components against OSV.dev vulnerability database. Returns CVE IDs, CVSS scores, severity, and fix recommendations. Accepts directory_path (generates fresh) or sbom_path (loads saved artifact).scan_agent_actionPre-execution security check for agent actions (bash, file_write, file_read, http_request, file_delete, cron, process_spawn, git, docker). Returns ALLOW/WARN/BLOCK.scan_agent_promptScan a prompt/instruction for potential malicious intent before execution. Returns risk assessment and recommended action (BLOCK/WARN/LOG/ALLOW).| Parameter | Type | Description |
|---|---|---|
| context | object | Previous conversation messages for multi-turn detection |
| prompt_text * | string | The prompt or instruction text to analyze |
scan_git_diffScan git diff for new security vulnerabilities. Only reports issues on changed lines. Use for PR reviews.scan_mcp_serverScan an MCP server's source code for security vulnerabilities: overly broad permissions, missing input validation, data exfiltration, insecure patterns. Returns grade (A-F) and recommendations.scan_packagesScan code for package imports and check for hallucinated (AI-invented) packages| Parameter | Type | Description |
|---|---|---|
| ecosystem * | string | The package ecosystem (dart=pub.dev, perl=CPAN, raku=raku.land, npm=npmjs, pypi=PyPI, rubygems=RubyGems, crates=crates.io) |
| file_path * | string | Path to the file to scan |
scan_projectScan an entire directory for security vulnerabilities with .gitignore support and security grading. Use verbosity='minimal' for grade + counts, 'compact' (default) for top issues, 'full' for all details.scan_securityScan a file for security vulnerabilities and return issues with suggested fixes| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the file to scan |
scan_skillDeep security scan of an OpenClaw skill. Multi-layer analysis: prompt injection detection, code analysis (AST+taint), ClawHavoc malware signatures, package supply chain verification, rug pull detection. Returns security grade A-F with detailed findings.| Parameter | Type | Description |
|---|---|---|
| baseline | boolean | Save current scan as baseline for rug pull detection |
| skill_path * | string | Path to skill directory or SKILL.md file |
| verbosity | string | Response detail level |
scanner_healthCheck plugin health: engine status, daemon status, package data availabilityscore_aivssScore findings using OWASP AIVSS v2. Accepts any scanner output or raw findings JSON. Returns per-finding AIVSS scores (0-10) and aggregate posture. Use verbosity='minimal' for posture only, 'compact' (default) for scores, 'full' for all metrics.Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json and 4 more.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README