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.4 Open source programming language to build simple/reliable/efficient software

Binaries: gitleaks

GitHub Packages downloads:

Last 30 days160,116
Downloads1,909,393
Analytics install events (30 days)22,482
Downloads / install events (30 days)7.1×

Source: GitHub Packages, fetched 2026-11-25T00:55:11Z. Analytics dates: 2026-10-26 to 2026-11-25. 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
Installs22,45545,863136,031
Installs (--HEAD)2752159
Installs on Request22,44145,848135,973
Installs on Request (--HEAD)2752159
Build Errors5