security_scan
Scan a codebase for vulnerabilities like CVEs, injection, hardcoded secrets, and auth flaws, then rank findings by severity and elevate risks reachable from MCP tools or HTTP routes.
Instructions
Scan the codebase for security vulnerabilities using deterministic checks + graph-aware severity scoring. No API key required.
Checks: dependency CVEs, shell injection, hardcoded secrets, path traversal, auth bypass, input validation, information disclosure, cryptography weaknesses, frontend XSS, architecture-level risks.
Graph-aware severity: vulnerabilities reachable from MCP tools or HTTP routes are automatically elevated. A medium shell injection reachable from connect_repo becomes Critical.
Returns ranked findings (Critical → Low) with attack scenarios and suggested fixes. Use --target for single-file scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Relative file path to scan. Omit to scan entire repo. | |
| classes | No | Vulnerability classes to check. Omit for all. | |
| graphAware | No | Enable graph-aware severity elevation (recommended). Default: true. | |
| dependencyAudit | No | Run dependency CVE and supply-chain checks. Default: true; set false to skip audit requests. |