Secrets Audit — Leaked API Key & Secret Detector
v1.0.2Detects leaked secrets & API keys: 32+ provider rules (AWS, GitHub, Stripe, OpenAI…), zero deps.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan
Scan text content for leaked credentials and secrets. Detects AWS/GCP/GitHub/Stripe/OpenAI/Anthropic/Slack/Discord tokens, private keys (RSA/EC/OpenSSH/PGP), JWTs, npm/Docker tokens, and crypto wallet keys.
| Parameter | Type | Description |
|---|---|---|
content * | string | Text to scan |
scan_file
Scan a local file for leaked credentials and secrets.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to file |
scan_directory
Scan a directory recursively for leaked credentials. Skips .git, node_modules, __pycache__, dist, build by default.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to directory |
extensions | string | Comma-separated extensions (default: scan all text-ish files) |