Scan a repository
scan_repoRuns an offline, read-only scan of a project folder for hardcoded secrets, risky code sinks, API routes, trust boundaries, runtime advisories, and security misconfigurations with file:line evidence.
Instructions
White-box scan of a local project folder: hardcoded secrets, code-execution sinks, API routes and trust boundaries, runtime versions with known advisories, and security headers, cookie flags, CORS and login rate limits as the code sets them. Offline and read-only. Returns findings with evidence at file:line and confidence labels.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scan_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Project folder to scan, relative to the workspace root or absolute inside it. Default: the workspace root. | |
| max_findings | No | How many findings to return, most severe first (default 50). |