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

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
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 1.5.0
head ⚡️ HEAD

Revision: 4

Depends on:

certifi 2025.8.3 Mozilla CA bundle for Python
libyaml 0.2.5 YAML Parser
python@3.13 3.13.6 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
detect-secrets 947
Installs on Request (30 days)
detect-secrets 947
Build Errors (30 days)
detect-secrets 1
Installs (90 days)
detect-secrets 2,354
detect-secrets --HEAD 2
Installs on Request (90 days)
detect-secrets 2,354
detect-secrets --HEAD 2
Installs (365 days)
detect-secrets 4,642
detect-secrets --HEAD 5
Installs on Request (365 days)
detect-secrets 4,643
detect-secrets --HEAD 5