CheckOps
Gitleaks
Gitleaks is an MIT-licensed tool for detecting secrets such as passwords, API keys and tokens in Git repositories, files and stdin; it is now feature complete with security-patch-only releases.
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
Gitleaks detects secrets like passwords, API keys and tokens in Git repositories, files and anything piped to it. It is one of the most popular secret scanners, with about 30,900 GitHub stars.
Important: the README now says Gitleaks is feature complete, no new features will be merged, future releases will be security patches only, and the author is shifting focus to a new project called Betterleaks.
The source code is at gitleaks/gitleaks on GitHub under the MIT licence, with about 30,900 stars; the most recent commit was on 28 October 2026.
Features
- Git history scanning: Scan commits and history.
- Directory and stdin: Scan files or piped input.
- Configurable rules: TOML config with custom rules and allowlists.
- Pre-commit hook: Stop secrets before commit.
- Report formats: JSON, CSV, SARIF and more.
Pros
- Free to use: Open source under MIT.
- Maintained: Commits as recent as 28 October 2026.
- Community: About 30,900 GitHub stars.
Cons
- Feature frozen: Only security patches going forward.
- No live verification: Does not check if secrets are active.
Usage and Links (Example)
gitleaks git -v .
gitleaks dir ./src
Resources:
Pricing
Gitleaks is free and open source under the MIT licence.
Recommended for?
- Teams wanting a simple, free secrets gate in CI or pre-commit.
- Existing Gitleaks users (note the maintenance status).
- Not a fit if you need live secret validation.
Conclusion
Gitleaks remains a solid, simple secret scanner, but plan for its security-patch-only status.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with Gitleaks side by side.
TTruffleHogTruffleHog is Truffle Security's AGPL-3.0 secrets scanner that discovers, classifies (800+ types), verifies and analyses leaked credentials in Git, chats, wikis, logs, object stores and filesystems.Compare with Gitleaks
Ddetect-secretsdetect-secrets is Yelp's Apache-2.0, enterprise-friendly module for preventing new secrets entering a codebase, detecting committed secrets and tracking them with a baseline file.Compare with Gitleaks
KKingfisherKingfisher is MongoDB's Apache-2.0 secret scanner and credential response tool in Rust: it detects leaked secrets with hundreds of rules, validates live credentials and maps blast radius.Compare with Gitleaks
TTalismanTalisman is ThoughtWorks' MIT-licensed pre-commit and pre-push hook that inspects outgoing changesets for suspicious content such as tokens, passwords and private keys.Compare with Gitleaks
GGitGuardianGitGuardian is a credential-layer security platform for secrets detection and remediation across code, CI and collaboration tools, available as SaaS or self-hosted, with a free plan.Compare with Gitleaks
TTrivyTrivy is Aqua Security's Apache-2.0 all-in-one scanner for container images, filesystems, Git repos, VM images and Kubernetes, finding CVEs, IaC misconfigurations, secrets, licences and SBOM data.Compare with Gitleaks