env_scan_secrets
Scan a directory to detect exposed secrets, API keys, and credentials that belong in .env files. Prevent leaks by identifying hardcoded sensitive data.
Instructions
Scan files for exposed secrets, API keys, and credentials that should be in .env
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": {
"directory": "<directory>"
},
"name": "env_scan_secrets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for Pro/Enterprise | |
| directory | Yes | Directory to scan for exposed secrets |