HACKING TOOL · Secrets Detection & Security Auditing
TruffleHog
Detect Exposed Secrets And Sensitive Credentials In Code Repositories
Trufflehog is a tool designed to search for high-entropy strings and secrets (such as API keys, passwords, and other sensitive data) in various types of data sources, including git repositories. It is commonly used in security assessments and code reviews to identify and prevent the accidental exposure of sensitive information. Trufflehog scans repositories for potentially compromised secrets and flags them for further review.
Install:
git clone https://github.com/trufflesecurity/trufflehog.git
Why use TruffleHog
- Finds secrets hidden deep in git commit history
- Can verify whether a found key is still live
- Scans repos folders Docker images and more
- Fast enough to run inside a build pipeline
- Free open-source and widely trusted
