Alternatives to TruffleHog

Find exposed credentials in repositories and other data sources. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as TruffleHog.

  • Gitleaks

    Scans Git repositories, files and pipelines for leaked secrets.

    Gitleaks is MIT-licensed and fully free, scanning full Git history as a pre-commit hook or CI step, but it is feature complete with security patches only.

Also worth comparing

These listings name TruffleHog as their own alternative, so the relationship runs both ways.

  • detect-secrets

    A command-line tool from Yelp that detects and prevents secrets such as keys being committed to code.

    TruffleHog finds exposed credentials across repositories and other data sources, with some verification features that contact external services.

Similar software

Related functionality, not a direct replacement.