CheckOps home

Tools directory

G

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.

Visit website

Latest public signals

Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.

Visit Website

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

  1. Git history scanning: Scan commits and history.
  2. Directory and stdin: Scan files or piped input.
  3. Configurable rules: TOML config with custom rules and allowlists.
  4. Pre-commit hook: Stop secrets before commit.
  5. Report formats: JSON, CSV, SARIF and more.

Pros

  1. Free to use: Open source under MIT.
  2. Maintained: Commits as recent as 28 October 2026.
  3. Community: About 30,900 GitHub stars.

Cons

  1. Feature frozen: Only security patches going forward.
  2. No live verification: Does not check if secrets are active.
gitleaks git -v .
gitleaks dir ./src

Resources:

Pricing

Gitleaks is free and open source under the MIT licence.

  1. Teams wanting a simple, free secrets gate in CI or pre-commit.
  2. Existing Gitleaks users (note the maintenance status).
  3. 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.