CLI tool to find, verify, and analyze leaked credentials in various data sources
Top 2.3% on sourcepulse
TruffleHog is a powerful open-source tool designed to discover, classify, and validate leaked credentials across various data sources. It targets developers, security professionals, and DevOps teams by providing automated detection of sensitive information like API keys and passwords, helping to prevent security breaches.
How It Works
TruffleHog leverages a comprehensive suite of over 800 detectors to identify more than 800 types of secrets. Its core innovation lies in its ability to actively verify detected credentials against their respective services (e.g., AWS API calls for AWS keys), significantly reducing false positives. The tool supports a wide array of data sources, including Git repositories, cloud storage (S3, GCS), filesystems, Docker images, and more, offering detailed analysis of credential permissions and access.
Quick Start & Requirements
brew install trufflehog
(macOS), or use Docker: docker run --rm -it -v "$PWD:/pwd" trufflesecurity/trufflehog:latest github --repo https://github.com/trufflesecurity/test_keys
. Binary releases and installation scripts are also available.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 day ago
1 week