detect-secrets

Install command:
brew install detect-secrets

Enterprise friendly way of detecting and preventing secrets in code

https://github.com/Yelp/detect-secrets

License: Apache-2.0

Development: Pull requests

Formula JSON API: /api/formula/detect-secrets.json

Formula code: detect-secrets.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 1.5.0
head ⚡️ HEAD

Revision: 9

Depends on:

certifi 2026.7.22 Mozilla CA bundle for Python
libyaml 0.2.5 YAML Parser
python@3.14 3.14.7 Interpreted, interactive, object-oriented programming language

Binaries: detect-secrets, detect-secrets-hook

Analytics:

30 days90 days365 days
Installs4371,2134,824
Installs (--HEAD)1410
Installs on Request4371,2134,824
Installs on Request (--HEAD)1410
Build Errors0