gitleaks
Fast secret detection across git history and files with a strong default ruleset. Ideal for scanning cloned target repos and exposed .git folders.
Tags: secrets, git, regex, ci
- Category
- secrets
- Maintenance signal
- active
Use this when: CI trust. Scan a repository or file you already have.
Install
brew
brew install gitleaksgo
go install github.com/gitleaks/gitleaks/v8@latestCommand templates
Scan a repo dir
gitleaks detect --source {path} -v