EN
ENNA
TR

TruffleHog

Featured

🔎 General OSINT · Go

TruffleHog scans for leaked credentials and secrets in Git repositories, S3 buckets, filesystems, and more. It uses both regex patterns and entropy analysis to detect API keys, passwords, tokens, and other sensitive data that may have been accidentally committed. TruffleHog supports over 800 credential detectors and can verify discovered credentials against the actual services to confirm they are still active.

Installation

brew (macOS)

$ brew install trufflehog

docker

$ docker pull trufflesecurity/trufflehog

from source

$ git clone https://github.com/trufflesecurity/trufflehog.git && cd trufflehog && go install

Use Cases

  • Scanning Git history for leaked secrets
  • CI/CD pipeline secret detection
  • S3 bucket credential scanning
  • Active credential verification
  • Compliance and security auditing

Tags

secretscredentialsgits3

More in General OSINT