Suggest a tool

Gitleaks

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What Gitleaks is

Gitleaks is a secret scanner that detects passwords, API keys and tokens. It scans git repositories, directories, files and input piped through stdin. Detection rules are defined in a TOML configuration file. Allowlists in that file suppress known false positives. A baseline report lets later scans show only new findings. Reports can be written as JSON, CSV, JUnit, SARIF or a custom template. It runs from the command line, as a pre-commit hook, or as a GitHub Action. Installation options include Homebrew, Docker images and building from Go source. The maintainer describes the project as feature complete. Future releases are limited to security patches.

Written from the project's README, read .

Category
Security testing
License
MIT
Language
Go
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars29,4281
Forks2,2381
Open issues and PRs4831
Contributors2341
Commits in the last 90 days51
Last commit2026-07-221
Last releasev8.30.1, 2026-03-211
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed security testing tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Gitleaks's, with its source. See also Gitleaks alternatives.

Comparisons

How to install

brew install gitleaks
From README, read .

Questions

Is Gitleaks open source?

Yes. Gitleaks is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is Gitleaks maintained?

On 2026-09-22, the last commit to the default branch was on 2026-07-22, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does Gitleaks have?

29,428 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is Gitleaks written in?

The repository's primary language, as reported by the GitHub API, is Go.

How do I install Gitleaks?

The README gives this command: brew install gitleaks

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read