Skip to content
TruffleHog logo

TruffleHog

Find credentials in code and history

Free plan available
Coverage from Help Net Security SecurityWeek
3 press mentions

The Bottom Line

Price
Free plan available. Compare plans

Key facts

  • TruffleHog is an open-source tool for finding secrets in code
  • It detects credentials, API keys, and tokens in repositories
  • Free and open-source, Enterprise version available

Pros

  • Secrets detection
  • Open source
  • Good accuracy
  • Active development
  • CI/CD integration

Cons

  • Learning curve
  • False positives
  • CLI focused
  • Enterprise features paid
  • Configuration needed

What is TruffleHog?

TruffleHog finds secrets in code and commits. Credential scanning that checks history-security that catches leaked secrets. The scanning is thorough. The history checking matters. The findings prevent incidents. Security teams use TruffleHog for comprehensive secret detection.

Available on: Web

Key Features

  • Secret detection
  • Git scanning
  • Verified secrets
  • CI/CD integration
  • Open source
  • Multiple sources

Pricing Plans

Pricing checked Nov 12, 2026. Source: trufflesecurity.com/pricing, read Nov 12, 2026

TruffleHog plans and prices, checked November 2026
Plan Price Details
Open Source

Free

  • Secret scanning
  • 800+ detectors
  • Git history
Enterprise

Custom

  • Dashboard
  • RBAC
  • Support

Is TruffleHog worth the price?

Great value

TruffleHog's pricing is extremely generous, offering a fully-featured open-source tier for $0.

The Enterprise tier, while custom priced, likely caters to larger organizations needing advanced features. This pricing model is best for individual developers and small teams looking for robust secret scanning without upfront costs.

Full TruffleHog pricing: every plan, hidden costs and alternatives

Email me when TruffleHog changes its price

We email you when TruffleHog changes its pricing. We read its pricing page every week. One email per change, unsubscribe any time.

Have an account? Sign in and it is on in one click.

Recent pricing updates

Changes we detected on the TruffleHog pricing page.

  • Open Source plan now says 800+ detectors (was 700+); the Enterprise plan is Custom (Contact us) instead of a stored price of 0.

Reviews

Improve Your Thinking Patterns Using ChatGPT cover
$99 Free with your review

Write the first TruffleHog review, get a free AI guide

Share your experience and we will send you Improve Your Thinking Patterns Using ChatGPT, free.

Write the first review

Best TruffleHog Alternatives

Top alternatives based on features, pricing, and user needs.

TruffleHog by the numbers

TruffleHog compared with 747 Security tools on Toolradar, as of Nov 2026
Metric TruffleHog Peer median Position (1 is best)
Free plan Yes 45% have one n/a
Listed as an alternative to 4 tools 2 #234 of 747 (joint)
Media mentions, last 30 days 1 article 1 #11 of 21 (joint) tools mentioned in the last 30 days

Listed as an alternative to: #231 on 2026-10-16 to #234 on 2026-11-11 (rank among 747 tools, 1 is best).

Each position is counted among the tools that have data for that row, as noted under it. All Security data · How we compute this. Advertising and placement fees are not inputs to any position.

Cite this: Toolradar, “TruffleHog by the numbers”, Nov 2026.

Most buyers shortlist 2 or 3 tools before committing. Pull a side-by-side comparison or browse the full alternatives shortlist below.

Explore More

TruffleHog FAQ

How does TruffleHog help prevent security incidents?

TruffleHog prevents incidents by thoroughly scanning code and commit history for leaked secrets and credentials. Its findings help security teams catch sensitive information before it can be exploited.

Which teams benefit most from using TruffleHog?

Security teams primarily use TruffleHog for comprehensive secret detection across their codebase. Development teams can also integrate it into their workflows to proactively identify and remediate leaked credentials.

How does TruffleHog compare to Gitleaks?

TruffleHog, like Gitleaks, focuses on secrets detection within code and history. A key strength of TruffleHog is its active development and open-source nature, offering robust credential scanning capabilities.

What kind of limitations should users be aware of with TruffleHog?

Users should be aware that TruffleHog has a learning curve and can produce false positives. It is also primarily CLI-focused, and some enterprise features are only available in paid plans, requiring configuration.

Does TruffleHog include a free tier?

Yes, TruffleHog is available on a free tier, allowing users to get started with its core secret detection capabilities. Paid plans are offered for those requiring more extensive usage and additional features.

Can TruffleHog be integrated into continuous integration and delivery pipelines?

Yes, TruffleHog supports CI/CD integration, allowing for automated secret scanning as part of the development and deployment process. This helps ensure that credentials are not inadvertently committed or deployed.

How thorough is TruffleHog's scanning process?

TruffleHog performs thorough credential scanning by checking both current code and the complete commit history. This comprehensive approach ensures that even secrets introduced in past commits are detected.

Does TruffleHog have a promo code or discount code?

As of November 12, 2026, Toolradar has no TruffleHog promo code, coupon or discount code on file. TruffleHog's own pricing page (https://trufflesecurity.com/pricing, read November 12, 2026) does list a free plan, so you can start without a code. Offers change, so confirm the terms at checkout.

Guides & Articles