gitleaks

gitleaks

gitleaks Gitleaks is an open-source secret scanner for git repositories, files, and directories.

It’s written in Go.

Install:

brew install gitleaks

Scan:

gitleaks dir ...
gitleaks git ...