NextfitSecurity & privacy

trufflesecurity/trufflehog

A security scanner that finds and verifies leaked API keys and passwords.

DOES IT FIT?
Worth it

Industry standard tool with active maintenance and reliable secret verification.

High confidence. AI review, 2026-11-25. No person checked it. Based on the README, activity, licence and health signals.
Best for
DevOps engineers and security teams
Good for
Security & compliance · Software development
Setup
Easy
Licence
AGPL-3.0 · share your changes if you ship it

Business fit

Lowers security risk by catching leaked credentials before attackers do.

Technical fit

Go binary, runs in Docker or CI pipelines, highly stable.

Try it locally

docker run --rm -it -v "$PWD:/pwd" trufflesecurity/trufflehog:latest github --org=trufflesecurity
brew install trufflehog
docker run --rm -it -v "$PWD:/pwd" trufflesecurity/trufflehog:latest github --repo https://github.com/trufflesecurity/test_keys
docker run --rm -it -v "%cd:/=\%:/pwd" trufflesecurity/trufflehog:latest github --repo https://github.com/trufflesecurity/test_keys
docker run --rm -it -v "${PWD}:/pwd" trufflesecurity/trufflehog github --repo https://github.com/trufflesecurity/test_keys

Project health

Check it yourself

README · Releases · Issues · Pull requests · Commits · Security · Licence · OpenSSF Scorecard · On Go · Hacker News discussion

Open in Nextfit → · the original on GitHub

More in Security & privacy

All Security & privacy projects, best rated first