gitleaks/gitleaks
Find secrets with Gitleaks 🔑 observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 75
- 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: 9.5
- age_days: 3140
- days_rel: 166
- days_push: 7
- n_releases_24m: 31
Adoption not part of the score
28965 stars · 2216 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Gitleaks is an open-source CLI tool for detecting secrets like passwords, API keys, and tokens in git repositories, files, directories, and stdin. It integrates with pre-commit hooks and CI/CD pipelines via a GitHub Action and Docker images.
Use cases
- scan a git repo for leaked api keys and passwords
- add secret detection to a pre-commit hook
- run secret scanning in ci pipeline on pull requests
- check a directory of files for hardcoded credentials
- prevent committing tokens to a repository
- audit git history for exposed secrets
When to choose
- you need fast, widely adopted secret scanning for git repos and files
- you want pre-commit or CI/CD integration with a GitHub Action
- you need a single static binary with no dependencies
When to avoid
- you need new features beyond security patches, since gitleaks is feature complete
- you want actively developed alternatives like the successor Betterleaks
- you need runtime or network-level secret detection rather than static scanning
Facets
cli-tool · maturity maintenance
security vulnerability-scanning cli ci-cd security developer-tools version-control windows cli cross-platform secret-scanning git dlp devsecops pre-commit api-keys static-analysis devops linux macos docker
2 sources
- readme: https://github.com/gitleaks/gitleaks · fetched 2026-08-28 · 01466e4f2793
- homepage: https://gitleaks.io · fetched 2026-08-29 · ce38a464d7bf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gitleaks/gitleaks | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="gitleaks/gitleaks")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem