Skip to content

TruffleHog

by Truffle Security Co.

Open-source secret scanner that classifies and verifies credentials across Git, chat, cloud storage and more.

  • Self-hosted
  • Small business
  • Mid-size
  • Enterprise
  • Open source
  • Free tier

From TruffleHog's own website and public documents, updated 4 Nov 2026. Not a hands-on review: I add a verdict only to products I use myself.

What is TruffleHog?

TruffleHog does four jobs: discovery, classification, validation and analysis. Discovery covers Git, chats, wikis, logs, API testing platforms, object stores and filesystems. Classification identifies over 800 secret types and maps each to the service it belongs to.

The README singles out validation. For every secret it can classify, TruffleHog can log in to confirm whether the secret is live. For about 20 of the most commonly leaked credential types, analysis sends more requests to show who created the key and what it can access.

The open-source version is a command-line tool under AGPL-3.0. It outputs JSON and SARIF, and runs as a GitHub Action or pre-commit hook. A paid TruffleHog Enterprise product monitors Git, Jira, Slack, Confluence, Microsoft Teams and SharePoint. The README lists no pricing.

Best forTeams that want to focus on secrets that are confirmed live

TruffleHog features

  • Credential classification

    Identifies over 800 secret types per the README.

  • Live validation

    Logs in to the matching service to check whether a secret is still active.

  • Permission analysis

    For about 20 common credential types, shows who owns the key and what it can reach.

  • Many sources

    Scans Git, chats, wikis, logs, object stores and filesystems.

  • SARIF and JSON output

    SARIF can be uploaded to GitHub code scanning.

  • GitHub Action and pre-commit

    Both are available for pipeline and local use.

TruffleHog integrations

  • GitHub Actions
  • pre-commit
  • GitHub
  • GitLab
  • Jira
  • Slack
  • Confluence
  • Microsoft Teams
  • SharePoint

From the vendor's own integration list or documentation.

TruffleHog pricing

Starting price

Not published, ask for a quote

  • Pricing modelPrice on request
  • Free tierYes
  • Free trialNot stated

Checked 4 Nov 2026. Prices change often; the vendor's page wins.

Security and compliance

Certifications
None listed on a public trust page
EU data residency
Not documented

Where it fits (NIST CSF 2.0)

  1. Govern (not covered)
  2. Identify (not covered)
  3. Protect
  4. Detect
  5. Respond (not covered)
  6. Recover (not covered)

Independent audits

No public independent audit found.

Good to know before you buy

  • The open-source licence is AGPL-3.0, which some companies restrict.
  • Validation sends live requests to third-party services, so check your policy before running it on sensitive data.

TruffleHog alternatives

Aikido Security

Aikido Security BV

All-in-one security platform for small teams: code, dependencies, secrets, IaC and cloud with a free plan.

Checkmarx One

Checkmarx Ltd.

Application security platform covering SAST, SCA, API, IaC, secrets and supply chain checks for large teams.

Secrets security platform that monitors code, CI and collaboration tools and manages incident response.

GitHub's built-in code scanning, secret scanning and dependency alerts for repositories hosted on GitHub.

Gitleaks

Gitleaks (open-source project)

Free, MIT-licensed command-line tool that finds hardcoded secrets in Git repos, files and stdin.

Invicti

Invicti Security Corp.

Application security platform built on proof-based DAST, with SAST, SCA, IaC and secrets add-ons.

TruffleHog vs Aikido SecurityTruffleHog vs Checkmarx OneTruffleHog vs GitGuardian

Frequently asked questions

What is TruffleHog?

Open-source secret scanner that classifies and verifies credentials across Git, chat, cloud storage and more.

How much does TruffleHog cost?

TruffleHog does not publish prices. You need to ask the vendor for a quote.

Is there a free version of TruffleHog?

Yes. TruffleHog has a free plan or tier; check the pricing page for its limits.

What are the alternatives to TruffleHog?

Products in the same category include Aikido Security, Checkmarx One, GitGuardian, GitHub Advanced Security, Gitleaks.

Have you tested TruffleHog?

Not yet. This page lists published facts only. When I test it, my verdict will appear at the top.

Sources (2), checked 4 Nov 2026
  1. github.com/trufflesecurity/trufflehog
  2. raw.githubusercontent.com/trufflesecurity/trufflehog/main/README.md

Spotted something out of date? Tell me through the contact page and I will fix it.

By using this site, you agree to the Privacy Policy.