Boneyard Tools

Secret Scanner for Code and Config

Paste any code, config file or log and instantly find leaked credentials. Secret Scanner matches well-known patterns for AWS, GitHub, Stripe, Google, Slack, npm, SendGrid, JWTs and private keys, all in your browser. Every match is redacted so nothing sensitive is shown in full.

How to scan for leaked secrets

  1. Paste your code, config or log into the editor.
  2. Review the findings list: each shows the secret type, severity and line.
  3. Rotate any real key that was leaked, then remove it from source control.

Examples

Catch a hard-coded AWS key

const aws_key = "AKIAIOSFODNN7EXAMPLE";
AWS Access Key ID (high) on line 1, match redacted as AKIA...MPLE

Frequently asked questions

Is my code uploaded anywhere?

No. Scanning happens 100% in your browser using JavaScript. Your code, keys and config never leave your device and nothing is sent to a server.

What kinds of secrets does it detect?

Well-known credential formats: AWS access keys, GitHub and npm tokens, Stripe secret keys, Google API keys and OAuth tokens, Slack and Twilio tokens, SendGrid keys, JSON Web Tokens, private key blocks, and generic key/secret/password assignments.

Can it miss secrets or flag false positives?

Yes. It relies on signature patterns, so custom or obfuscated secrets may be missed, and a random string that matches a known shape can be flagged. Treat it as a fast first pass, not proof a file is clean.

A real secret showed up. What should I do?

Treat it as compromised. Rotate or revoke the key immediately at the provider, then remove it from your code and history (committed secrets stay in git history until rewritten).

Are the matches shown in full?

No. Every detected value is redacted to its first and last four characters (shorter values are fully masked), so you can recognize the secret without exposing it on screen.

Related tools