Secret scanner
Find leaked API keys, tokens, private keys and passwords in code, .env and logs before you commit or share.
Runs on your device. Nothing is uploaded.
If a key is found
- Revoke and replace the key in the service’s dashboard. Deleting the line is not enough: the key stays in git history, CI caches and any copies already made.
- Move secrets to environment variables or a secret manager and add .env to .gitignore.
- If the key reached a public repository, treat it as compromised: bots find such keys within minutes.
The scanner looks for known key formats and for values in lines such as password=, api_key: and postgres://user:pass@. Obvious placeholders (changeme, ${VAR}) are skipped. Found values are shown only partly.