scan_secrets
Detect leaked secrets and credentials in text or code, including API keys, tokens, and private keys. All values are masked in output.
Instructions
Detect leaked secrets and credentials in text or code. Identifies API keys (OpenAI, AWS, GitHub, GCP, Stripe, Slack, Telegram), JWT tokens, database connection strings, private keys, and .env patterns. All values are masked in output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The text or code content to scan for secrets | |
| content_type | Yes | Type of content being scanned — affects detection sensitivity |