Secrets Scanner
detect-secrets-scannerRead-onlyIdempotent
Scan text (config, code, env files) for leaked API keys, tokens, passwords, and private keys, plus static code-risk findings such as dynamic code execution, wildcard CORS, unsafe HTML sinks, process spawning and removed security guards. Returns findings with redacted matches and severity classification.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Config, code, or env file content to scan. Do not submit live production secrets; rotate any real credential that appears here. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| findings | Yes | ||
| severity | Yes | ||
| next_step | Yes | ||
| types_found | Yes | ||
| finding_count | Yes | ||
| next_step_url | Yes | ||
| why_follow_up | Yes | ||
| interpretation | Yes | ||
| code_risk_count | Yes | ||
| affiliate_context | No | ||
| computation_basis | Yes | ||
| code_risk_findings | Yes |