Secrets-LE

v2.5.0
io.github.nolindnaidoo/secrets-le Checked 10 hours ago Published 1 month ago

Detect 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.

ParameterTypeDescription
content *stringThe text to scan.
includeApiKeysbooleanInclude API key detectors.
includePasswordsbooleanInclude password detectors.
includePrivateKeysbooleanInclude private key detectors.
includeTokensbooleanInclude token detectors.
maxResultsintegerCap on returned findings (default 500). meta.truncated reports whether any were dropped.
sensitivitystringWhich findings to report: "low" reports every match, "medium" (the default) drops low-confidence ones, and "high" keeps only high-confidence ones.