scan_repository
Identify vulnerabilities, secrets, and malformed inputs in a repository by parsing its manifest and lockfile. Scans safely with resource limits.
Instructions
Walk a repository root, parse its manifest and lockfile, and return a typed set of findings (vulnerabilities, secrets, malformed inputs). Safe by default: paths are resolved through security/paths.ts and the run is bounded by ResourceGovernor.
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_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoRoot | No | ||
| includeHidden | No | ||
| followSymlinks | No | ||
| maxFiles | No | ||
| maxBytes | No | ||
| maxDepth | No |