gitleaks

Install command:
brew install gitleaks

Audit git repos for secrets

https://gitleaks.io/

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/gitleaks.json

Formula code: gitleaks.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 8.30.1
head ⚡️ HEAD

Depends on when building from source:

go 1.27.3 Open source programming language to build simple/reliable/efficient software

Binaries: gitleaks

GitHub Packages downloads:

Last 30 days140,918
Downloads1,775,998
Analytics install events (30 days)17,906
Downloads / install events (30 days)7.9×

Source: GitHub Packages, fetched 2026-11-03T00:39:19Z. Analytics dates: 2026-10-04 to 2026-11-03. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs17,87938,117126,146
Installs (--HEAD)2753154
Installs on Request17,87638,115126,084
Installs on Request (--HEAD)2753154
Build Errors6