Detect and block API keys and tokens from leaking through agent interactions.
Scan agent input and output for API keys and tokens using TealSecrets’ pattern library. Critical and high-confidence findings are denied outright; medium-confidence findings are redacted to prevent false-positive blocking.
Minimum confidence to trigger an action. Lower = more sensitive
categories
["api_keys", "tokens"]
Secret categories to scan. Also available: passwords, certificates, cloud_secrets, database_urls
actions.critical
DENY
Action for critical-severity findings
actions.high
DENY
Action for high-severity findings
actions.medium
REDACT
Action for medium-severity findings
Setting all severity levels to DENY may cause false-positive blocks on code snippets that resemble API key patterns. Use REDACT for medium-confidence findings in development environments.