trufflehog

Scan for and verify credentials exposed in source code

brewmacoslinux
Try with needOr install directly
Source

About

Find and verify credentials

Commands

trufflehog

Examples

Scan a local git repository for secrets$ trufflehog git file:///path/to/repo
Scan a remote GitHub repository$ trufflehog github --repo owner/repo
Scan all files in a directory$ trufflehog filesystem /path/to/directory