check_secrets
Scan text for sensitive secrets like API keys, tokens, and credentials, and automatically redact them to prevent exposure.
Instructions
Dedicated secret and credential detection. Scans text for AWS keys, GitHub tokens, Stripe keys, private keys, JWTs, Slack tokens, passwords, connection strings, Google API keys, and more. All matched secrets are redacted in findings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to scan for secrets. | |
| file_path | No | Optional file path for context. |