detect-secrets
https://github.com/yelp/detect-secrets
Python
An enterprise friendly way of detecting and preventing secrets in code.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to detect-secrets
Help out
- Issues
- Chore/scan gate optimizations
- fix: log a diagnostic when scan_line() has no plugins configured
- Chore/detect secrets perf optimizations
- fix: don't crash in wordlist filter when word list has no usable words
- scan --all-files <path outside cwd> silently returns an empty result set (exit 0, no diagnostic)
- fix: recognize pnpm-lock.yaml as a lock file
- fix: handle empty files in scan_for_allowlisted_secrets_in_file
- fix: gracefully handle out-of-range YAML timestamps during scan
- Detect GitHub fine-grained personal access tokens (github_pat_)
- fix(yaml): scan string values inside YAML sequences
- Docs
- Python not yet supported