gitleaks

Audit git repos for secrets and sensitive information leaks

brewmacoslinux
Try with needOr install directly
Source

About

Audit git repos for secrets

Commands

gitleaks

Examples

Scan current git repository for secrets$ gitleaks detect
Scan a specific directory for secrets with verbose output$ gitleaks detect --source /path/to/repo -v
Scan git history and generate JSON report$ gitleaks detect --source . --report-path secrets.json --report-format json