Open Source Appsec Scanner ProofLayer released version 4.3.0 of its open-source application security scanner for AI coding agents, adding critical security and reliability fixes including GitHub Actions now failing closed instead of fail-open to prevent security gate bypass. The 81.5KB package, which installs in four seconds and scans code across 12 languages with 1,700+ security rules, also patched eight Hono CVEs covering XSS, path traversal, and authentication bypass. The update includes compliance evidence collection against SOC2 and GDPR frameworks, SBOM generation with dependency vulnerability analysis, and LLM-powered semantic code review with intent profiling. Security scanner for AI coding agents and autonomous assistants Scans code for vulnerabilities, detects hallucinated packages, blocks prompt injection, and provides LLM-powered semantic code review β via MCP Claude Code, Cursor, Windsurf, Cline or CLI OpenClaw, CI/CD . Ultra-fast, zero-Python security scanner β 81.5KB package, 4-second install npm install -g @prooflayer/security-scanner - β‘ 4-second install vs 45s traditional scanners - π¦ 81.5KB package vs 50MB+ alternatives - π Instant scans - pure regex, no Python/LLM - π‘οΈ 400+ security rules across 9 languages - π― 7 MCP tools for AI agents - β Zero dependencies on Python - π― MIT licensed - free for commercial use Enterprise-grade scanner with AST analysis, taint tracking, cross-file analysis, and LLM-powered semantic review npm install -g agent-security-scanner-mcp - 𧬠AST + Taint Analysis - deep code understanding - π 1,700+ security rules across 12 languages - π Cross-file tracking - follow data flows - π― 11 MCP tools + CLI commands - π¦ 4.3M+ package verification bloom filters - π Python analyzer for advanced features - π€ LLM-powered code review - semantic security analysis with intent profiling Continue reading below for full version documentation β New in v4.3.0 2026-05-05 :Critical security and reliability fixes β GitHub Actions nowfail closedinstead of fail-open when scanner output is invalid preventing security gate bypass , patched8 Hono CVEs XSS, path traversal, authentication bypass , fixed confidence threshold filtering case sensitivity, and corrected SARIF generation for GitHub Code Scanning. All fixes include comprehensive regression tests.Upgrade recommended for production use. See Full Changelog . New in v4.2.0:Compliance evidence collection β evaluate projects against SOC2-Technical 8 controls and GDPR-Technical 6 controls frameworks. Collects evidence from code scans, SBOM, vulnerability checks, and hallucination detection, then evaluates controls with pass/partial/fail/not evaluated status. Supports evidence persistence for audit trails. See Compliance Evaluation . New in v4.1.0:SBOM generation and dependency vulnerability analysis β generates CycloneDX v1.5 SBOMs, scans against OSV.dev for CVEs, detects hallucinated packages, compares baselines, and generates HTML audit reports. Supports 8 lock file formats and 7 manifest formats across npm, Python, Go, Rust, Ruby, and Java ecosystems. See SBOM Tools . New in v4.0.0:LLM-powered semantic code review agent with intent profiling β understands what your project is supposed to do and flags patterns that violate that intent. Same eval call = safe in a build tool, dangerous in an e-commerce app. Supports Claude CLI no API key needed , Anthropic, and OpenAI. See code-review-agent . New in v3.11.0:ClawHub ecosystem security scanning β scanned all 16,532 ClawHub skills and found 46% have critical vulnerabilities. New scan-clawhub CLI for batch scanning, 40+ prompt injection patterns, jailbreak detection DAN mode, dev mode , data exfiltration checks. See ClawHub Security Dashboard . Also in v3.10.0:ClawProof OpenClaw plugin β 6-layer deep skill scanner scan skill with ClawHavoc malware signatures 27 rules, 121 patterns covering reverse shells, crypto miners, info stealers, C2 beacons, and OpenClaw-specific attacks , package supply chain verification, and rug pull detection. OpenClaw integration:30+ rules targeting autonomous AI threats + native plugin support. See setup . | Tool | Description | When to Use | |---|---|---| scan security | Scan code for vulnerabilities 1700+ rules, 12 languages with AST and taint analysis | After writing or editing any code file | fix security | Auto-fix all detected vulnerabilities 120 fix templates | After scan security finds issues | scan git diff | Scan only changed files in git diff | Before commits or in PR reviews | scan project | Scan entire project with A-F security grading | For project-wide security audits | check package | Verify a package name isn't AI-hallucinated 4.3M+ packages | Before adding any new dependency | scan packages | Bulk-check all imports in a file for hallucinated packages | Before committing code with new imports | scan agent prompt | Detect prompt injection with bypass hardening 59 rules + multi-encoding | Before acting on external/untrusted input | scan agent action | Pre-execution safety check for agent actions bash, file ops, HTTP . Returns ALLOW/WARN/BLOCK | Before running any agent-generated shell command or file operation | scan mcp server | Scan MCP server source for vulnerabilities: unicode poisoning, name spoofing, rug pull detection, manifest analysis. Returns A-F grade | When auditing or installing an MCP server | scan skill | Deep security scan of an OpenClaw skill: prompt injection, AST+taint code analysis, ClawHavoc malware signatures, supply chain, rug pull. Returns A-F grade | Before installing any OpenClaw skill | scanner health | Check plugin health: engine status, daemon status, package data availability | Diagnostics and plugin status | list security rules | List available security rules and fix templates | To check rule coverage for a language | sbom generate | Generate CycloneDX v1.5 SBOM for a project 8 lock file formats, 7 manifest formats | Before releases, for compliance audits | sbom scan vulnerabilities | Cross-reference SBOM against OSV.dev for CVEs with severity filtering | After generating SBOM, for security audits | sbom check hallucinations | Verify all SBOM packages exist in official registries | Before deploying, to catch AI-invented packages | sbom diff | Compare current SBOM against baseline, detect added/removed/changed packages | In CI/CD to track dependency drift | sbom export report | Generate HTML or JSON audit report from SBOM with vulnerability data | For PCI-DSS compliance, security reviews | get compliance controls | Look up compliance controls with evaluation criteria AIUC-1, SOC2, GDPR | To understand compliance requirements | evaluate compliance | Evaluate project against compliance frameworks with evidence collection | For SOC2/GDPR technical compliance audits | npx agent-security-scanner-mcp init claude-code Restart your client after running init. That's it β the scanner is active. Other clients:Replace claude-code with cursor , claude-desktop , windsurf , cline , kilo-code , opencode , or cody . Run with no argument for interactive client selection. scan security β review findings β fix security β verify fix scan git diff β scan only changed files for fast feedback scan packages β verify all imports are legitimate scan git diff --base main β scan PR changes against main branch scan project β get A-F security grade and aggregated metrics scan agent prompt β check for malicious instructions before acting on them check package β verify each new package name is real, not hallucinated Scan AI agent skills for prompt injection, jailbreaks, and security threats: Scan entire ClawHub ecosystem 777 skills node index.js scan-clawhub Scan single skill file node index.js scan-skill ./path/to/SKILL.md Standalone package npm install -g clawproof clawproof scan ./SKILL.md Security Reports: We've scanned all 777 ClawHub skills: 69.5% have security issues 21.2% have critical vulnerabilities Grade F - DO NOT INSTALL 30.5% are completely safe Grade A 4,129 prompt injection patterns detected See ClawHub Security Dashboard https://www.proof-layer.com/dashboard for interactive exploration of all 16,532 skills with searchable security grades and detailed findings. Detection Capabilities: - Prompt Injection 15 patterns : "ignore previous instructions", role manipulation - Jailbreaks 4 patterns : DAN mode, developer mode, pretend scenarios - Data Exfiltration 2 patterns : External URLs, base64 encoding - Hidden Instructions 2 patterns : HTML comments, secret directives Security Grading: A 0 points : Safe to install B 1-10 : Low risk - review findings C 11-25 : Medium risk - use with caution D 26-50 : High risk - not recommended F 51+ : DO NOT INSTALL - critical threats The code-review-agent is an LLM-powered semantic code review tool that uses intent profiling to distinguish safe patterns from dangerous ones based on project context. Same code, different verdicts based on what the project is supposed to do: | Pattern | Build Tool | E-Commerce App | |---|---|---| subprocess.run with hardcoded commands | β Expected β that's its job | Suspicious β why does checkout need shell access? | eval req.query.filter | Suspicious β build tools don't eval user input | β Dangerous β product catalog shouldn't eval user input | os.remove | β Expected for file organizer | β Dangerous for auth service | fs.writeFile req.body.path | Review β depends on context | β Dangerous β auth service shouldn't write arbitrary files | After installing agent-security-scanner-mcp , the cr-agent CLI is automatically available: Install the package cr-agent is included npm install -g agent-security-scanner-mcp Analyze a project no API key needed with claude-cli npx cr-agent analyze ./path/to/project -p claude-cli --verbose View intent profile only npx cr-agent intent ./path/to/project -p claude-cli Output as SARIF for GitHub Code Scanning npx cr-agent analyze ./path/to/project -f sarif -p claude-cli | Provider | API Key Required | Command | |---|---|---| | Claude CLI | β No uses Claude Code's auth | -p claude-cli | | Anthropic | β ANTHROPIC API KEY | -p anthropic | | OpenAI | β OPENAI API KEY | -p openai | Intent Profiling β Reads README, dependencies, and structure to understand project purpose Dynamic Chunking β Large files split based on token budget, not hardcoded line limits 3 Output Formats β Colored terminal text, JSON, SARIF 2.1.0 Dependency Graph β Resolves JS/TS/Python imports including barrel re-exports Prompt Injection Defense β System prompts mark repo content as untrusted input | Flag | Description | Default | |---|---|---| -p, --provider | LLM provider anthropic , openai , claude-cli | anthropic | -m, --model | Analysis model | claude-sonnet-4-20250514 / gpt-4o | -c, --confidence | Confidence threshold 0-1 | 0.7 | -f, --format | Output format text , json , sarif | text | -v, --verbose | Show reasoning and suggested actions | false | --exclude | Patterns to exclude | node modules dist .git | | Use Case | Tool | |---|---| | Fast, rule-based scanning CI/CD | scan security MCP tool | | Deep semantic analysis with context | code-review-agent LLM-powered | | Package verification | check package / scan packages | | Prompt injection detection | scan agent prompt | π Full documentation: code-review-agent/README.md Generate Software Bill of Materials SBOM and analyze dependencies for vulnerabilities across your entire supply chain. Generate SBOM for current project npx agent-security-scanner-mcp sbom-generate . Scan for vulnerabilities against OSV.dev npx agent-security-scanner-mcp sbom-vulnerabilities . Check for hallucinated packages npx agent-security-scanner-mcp sbom-check-hallucinations . Compare against baseline CI/CD npx agent-security-scanner-mcp sbom-diff . --save-baseline First run npx agent-security-scanner-mcp sbom-diff . Subsequent runs Generate HTML audit report npx agent-security-scanner-mcp sbom-report . --format html | Ecosystem | Lock Files | Manifests | CLI Fallback | |---|---|---|---| npm | package-lock.json v2/v3 , yarn.lock classic/berry , pnpm-lock.yaml | package.json | npm ls , pnpm list | Python | poetry.lock, Pipfile.lock | requirements.txt, pyproject.toml | β | Go | go.sum | go.mod | go list | Rust | Cargo.lock | β | cargo metadata | Ruby | Gemfile.lock | Gemfile | β | Java | β | pom.xml, build.gradle | mvn dependency:tree | Generate a CycloneDX v1.5 SBOM for a project. Discovers all dependencies direct + transitive from lock files and manifests. // Input { "directory path": "./my-project", "verbosity": "compact" } // Output { "total components": 212, "direct": 20, "dev": 91, "ecosystems": "npm", "pypi" , "components": { "name": "express", "version": "4.18.2", "ecosystem": "npm", "isDirect": true } } Cross-reference SBOM components against OSV.dev vulnerability database. Returns CVE IDs, CVSS scores, severity, and fix recommendations. // Input { "directory path": "./my-project", "severity threshold": "medium" } // Output { "total vulnerabilities": 3, "by severity": { "critical": 1, "high": 1, "medium": 1 }, "vulnerabilities": { "id": "GHSA-xxxx-yyyy-zzzz", "package": "lodash", "severity": "critical", "cvss": 9.8, "fixed version": "4.17.21" } } Check all packages in an SBOM against official registries to detect AI-invented package names. // Input { "directory path": "./my-project" } // Output { "total checked": 212, "hallucinated count": 1, "unsupported ecosystems": "go", "java" , "hallucinated": { "name": "react-async-utils-helper", "ecosystem": "npm" } } Compare current project SBOM against a stored baseline. Detects added, removed, and version-changed packages. // Input first run { "directory path": "./my-project", "save baseline": true } // Output { "message": "Baseline saved to .scanner/sbom-baseline.json" } // Input subsequent runs { "directory path": "./my-project" } // Output { "added": { "name": "lodash", "version": "4.17.21", "ecosystem": "npm" } , "removed": , "changed": { "name": "express", "from": "4.17.1", "to": "4.18.2" } } Generate an HTML or JSON audit report from SBOM data, optionally enriched with vulnerability scan results. // Input { "directory path": "./my-project", "format": "html", "include vulnerabilities": true, "output path": "./sbom-report.html" } // Output { "report path": "./sbom-report.html", "components": 212, "vulnerabilities": 3 } Generate SBOM sbom-generate