awslabs/git-secrets
Prevents you from committing secrets and credentials into git repositories observed · 2026-08-28
Health v2 · maintenance only
51/100
- Activity 42
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 4067
- days_rel: n/a
- days_push: 350
- n_releases_24m: 0
Adoption not part of the score
13380 stars · 1253 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
git-secrets is a command-line tool that scans git commits, commit messages, and merge histories for secrets and credentials, rejecting commits that match prohibited patterns. It ships with built-in AWS credential detection and supports custom secret providers and regex patterns.
Use cases
- prevent committing AWS keys to git
- scan repo history for leaked passwords
- add pre-commit hook to block secrets
- check repository before making it public
- scan for custom credential patterns
When to choose
- you want a lightweight git hook-based guard against committing secrets
- you primarily need AWS credential detection
- you need to audit full git history for leaked credentials
When to avoid
- you need broad multi-cloud secret scanning with many built-in providers
- you want CI-side scanning rather than local git hooks
- you need active maintenance with frequent updates
Facets
cli-tool · maturity stable
security vulnerability-scanning version-control developer-tools security version-control developer-tools windows cli git-hooks secrets-detection aws-credentials pre-commit credential-scanning linux macos
1 source
- readme: https://github.com/awslabs/git-secrets · fetched 2026-08-28 · 325b272b3565
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| awslabs/git-secrets | main | 51 |
For agents
markdown · JSON · MCP: product_card(name="awslabs/git-secrets")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem