Secret Scanner
30 patterns for leaked AWS/GitHub/Stripe/Slack/database-connection-string secrets and more, with line numbers, severity, a redacted-copy export, and high-entropy catch-all detection -- heuristic, not exhaustive.
What this tool does
Scans pasted text or code against 30 patterns matching the real, publicly documented shapes of leaked credentials -- the same kind of heuristic matching tools like gitleaks and truffleHog use -- and reports every hit with its line number, severity, and a redacted preview safe to glance at without re-exposing the full secret.
What's covered
Cloud credentials (AWS access keys and session tokens, Google
API keys and OAuth secrets, Azure storage keys), source-control
tokens (GitHub classic/OAuth/App/fine-grained PATs, GitLab PATs),
payment and messaging services (Stripe, SendGrid, Twilio, Slack
tokens and webhooks, Discord bot tokens, Mailgun), package-registry
tokens (npm, PyPI), PEM private key headers, JWTs, database
connection strings with embedded credentials
(postgres://user:pass@...), Basic Auth embedded in a
URL, and generic api_key=/secret=/
password= assignments.
High-entropy catch-all
Beyond named patterns, any long base64/hex-looking string with Shannon entropy above a realistic threshold for random data gets flagged too -- catching custom or unrecognized secret formats that don't match a known service's shape but still look like genuinely random key material rather than ordinary text.
Severity, not just a yes/no
Findings are ranked critical/high/medium/low based on how
specific and dangerous the pattern is -- an AWS access key or a
database connection string with embedded credentials is critical;
a generic password= assignment (which catches plenty
of harmless test fixtures) is flagged lower.
Redacted copy
One click produces a copy of the input with every detected secret masked (first/last few characters kept, the middle replaced) -- safe to paste into a bug report, a Slack message, or an issue tracker without re-leaking what you just found.
Why this is heuristic, not exhaustive
Regex pattern matching cannot catch every possible secret format, and it will occasionally flag a placeholder or test value that happens to match a pattern's shape. Treat a clean scan as "no known pattern matched," not a guarantee nothing sensitive is present -- and a flagged match as "worth a closer look," not automatically a real leaked credential.
Privacy
Everything is scanned entirely in your browser. Nothing is uploaded -- which matters, since the whole point is not sending your actual secrets anywhere else either.