security_scan
Scan codebase for security vulnerabilities with deterministic checks and graph-aware severity scoring. Get ranked findings with attack scenarios and fixes.
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. |