Gitleaks

Gitleaks is a SAST tool for detecting and preventing hardcoded secrets like passwords, API keys, and tokens in Git repos, including their history.

Install

brew install gitleaks

Run

List secrets in the Git history.

gitleaks detect

List details.

gitleaks detect --verbose

Configure

GitHub Actions

Gitleaks
Interactive graph
On this page
Install
Run
Configure
GitHub Actions