scan_repo_for_threats
Audit an entire repository for security risks with multi-threaded regex scanning that skips node_modules, .git, and binary files. Run it before modifying untrusted code.
Instructions
Audit an entire repository for security risks. Multi-threaded regex scanning (no API costs). Automatically skips node_modules, .git, and binary files. Can scan 10k+ files in seconds. Run this before making changes to untrusted repositories.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "scan_repo_for_threats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Validation mode (default: strict) | |
| path | Yes | Root path of the repository to scan | |
| sensitivity | No | Detection sensitivity (default: high) | |
| excludePatterns | No | Additional glob patterns to exclude (node_modules, .git already excluded) |