Expanded from 6 to 51 secret types across 10 categories: Cloud, SaaS/Messaging, Payment, Package Registries, Version Control, AI/ML, E-commerce, Infrastructure, Database, and Social.
New patterns include AWS secret keys, Stripe/Square/PayPal tokens, Slack/Discord tokens, OpenAI/Anthropic API keys, Shopify tokens, JWTs, database connection strings, and more.
Entropy detection
New shannon_entropy() calculates Shannon entropy (bits) of a string.
New is_high_entropy() detects suspiciously high-entropy strings with separate thresholds for base64-like and hex-like character classes.
New guard_output_entropy() output guardrail scans output for high-entropy substrings with block/redact/warn modes.