scan_project_for_secrets
Recursively scan a project for hard-coded secrets and committed env files, returning only file paths, line numbers, and secret types—never secret values.
Instructions
Recursively scan the project (skipping node_modules, .git, build output and binaries) for hard-coded secrets and env files that may be committed. Returns only file paths, line numbers and secret types. Secret values are NEVER returned.
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_project_for_secrets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory relative to the project root. Defaults to the root. | |
| max_files | No | Maximum files to scan (default 2000). |