Secrets-LE
v2.5.0Detect hardcoded secrets in source and config.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
detect_secrets
Detect hardcoded secrets — API keys, passwords, tokens and private keys — in source or configuration text. Reports each finding by type, confidence, key name and 1-based position. Values are never returned: previews are truncated and length-annotated, and the surrounding context line has the secret masked out, so a finding can be located without the credential leaving the machine it was found on.
| Parameter | Type | Description |
|---|---|---|
content * | string | The text to scan. |
includeApiKeys | boolean | Include API key detectors. |
includePasswords | boolean | Include password detectors. |
includePrivateKeys | boolean | Include private key detectors. |
includeTokens | boolean | Include token detectors. |
maxResults | integer | Cap on returned findings (default 500). meta.truncated reports whether any were dropped. |
sensitivity | string | Which findings to report: "low" reports every match, "medium" (the default) drops low-confidence ones, and "high" keeps only high-confidence ones. |