🗂️ Navigation

TruffleHog

Find, verify, and analyze leaked credentials.

Visit Website →

Overview

TruffleHog is a powerful open-source tool for finding leaked secrets in your code. It scans git repositories, including the entire commit history and branches, to discover accidentally committed credentials like API keys and private keys. It uses entropy detection and a large number of credential detectors to identify secrets and can verify them against their respective APIs to reduce false positives. TruffleHog can be run as a command-line tool, integrated into CI/CD pipelines, and is also available as a pre-commit hook.

✨ Key Features

  • Open-source
  • Scans entire Git history
  • Over 700 credential detectors
  • Active secret verification
  • Scans filesystems, S3 buckets, and Docker images
  • GitHub Action and pre-commit hook available
  • Binary and document scanning

🎯 Key Differentiators

  • Strong open-source community
  • Active verification of found secrets
  • Broad scanning capabilities beyond just Git repositories

Unique Value: TruffleHog offers a powerful and extensible open-source solution for deep secret scanning with active verification, providing a high degree of confidence in its findings.

🎯 Use Cases (4)

Finding leaked secrets in code repositories Automating secret detection in CI/CD pipelines Scanning for credentials in various data sources Preventing secrets from being committed

✅ Best For

  • Deep scanning of Git repositories for historical and current secret leaks.

💡 Check With Vendor

Verify these considerations match your specific requirements:

  • Users looking for a fully managed, GUI-based solution without any command-line interaction (though an Enterprise version is available).

🏆 Alternatives

GitGuardian Gitleaks GitHub Advanced Security

Unlike some commercial alternatives, TruffleHog's open-source nature provides transparency and flexibility. Its active verification feature helps to significantly reduce the noise from false positives.

💻 Platforms

Desktop API

✅ Offline Mode Available

🔌 Integrations

GitHub GitLab Docker AWS S3 Google Cloud Storage CircleCI Travis CI Jira Slack Confluence Microsoft Teams Sharepoint

🛟 Support Options

  • ✓ Email Support
  • ✓ Dedicated Support (Enterprise tier)

💰 Pricing

Contact for pricing
Free Tier Available

Free tier: The open-source version is completely free.

Visit TruffleHog Website →