Yelp/detect-secrets
An enterprise friendly way of detecting and preventing secrets in code. observed · 2026-08-28
Health v2 · maintenance only
57/100
- Activity 75
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3194
- days_rel: n/a
- days_push: 153
- n_releases_24m: 0
Adoption not part of the score
4629 stars · 565 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
detect-secrets is a Python CLI tool from Yelp that detects secrets (API keys, passwords, tokens) in codebases using regex and entropy heuristics. It maintains a baseline of existing secrets so teams can prevent new ones from entering the codebase without needing to remediate all legacy secrets at once.
Use cases
- scan my repo for hardcoded api keys and passwords
- prevent new secrets from being committed to git
- create a baseline of existing secrets in a large legacy codebase
- add secret detection to pre-commit hooks
- audit a codebase for leaked credentials before open-sourcing
When to choose
- you want enterprise-friendly secret scanning with a baseline workflow that avoids re-scanning git history
- you need pre-commit or CI integration to block new secrets while tolerating a known backlog
- you want a lightweight, fast Python-based scanner without heavy dependencies
When to avoid
- you need deep git-history scanning to find secrets in past commits
- you require advanced ML-based or verified live-credential detection offered by commercial secret scanners
- you need runtime secret management or vaulting rather than detection
Facets
cli-tool · maturity active
security vulnerability-scanning cli developer-tools security developer-tools version-control python cli cross-platform windows secrets-detection pre-commit baseline-scanning credential-scanning static-analysis macos linux
2 sources
- readme: https://github.com/Yelp/detect-secrets · fetched 2026-08-28 · d88a270660d9
- registry_pypi: https://pypi.org/pypi/detect-secrets/json · fetched 2026-08-29 · b68bcd5ea143
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Yelp/detect-secrets | main | 57 |
For agents
markdown · JSON · MCP: product_card(name="Yelp/detect-secrets")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem