TruffleHog
trufflesecurity.com
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What TruffleHog is
TruffleHog scans code repositories and other sources for exposed secrets, passwords, and sensitive keys. It checks version history across branches and can detect secrets in comments, Docker images, and locations beyond repositories. Detected credentials are verified through their protocol or API to determine whether they are live, reducing false positives. Analyze identifies resources and permissions tied to API keys without requiring a provider’s interface. Pre-commit and pre-receive hooks scan before changes are committed, while alerts can link to credential-rotation and security guidance. Integrations include GitHub, GitLab, Bitbucket, Gerrit, Docker, Jenkins, Slack, Teams, Jira, Confluence, Google Drive, S3, and SharePoint. Notifications can use Slack, Jira, Splunk, webhooks, email, or stdout. Scanning occurs in memory; the company says it stores finding locations and redacted credential information, not secrets. Open-source licensing is AGPL-3.0.
Who it suits
TruffleHog suits development and security teams scanning repositories, CI/CD systems, cloud sources, and internal infrastructure. It supports both open-source use and enterprise deployments on isolated servers or on-premises.
Good to know, and what to watch
- Verifies credentials to reduce false positives
- Scans history, comments, and Docker images
- Pre-commit and pre-receive hooks
- Many source and notification integrations
- Open-source plan is free
- Open-source license is AGPL-3.0
- Secrets scanning stores finding metadata and redacted information
Plans
Every plan and priceEnterprise
Open-source
Free plan
The verdict
TruffleHog combines secret discovery, credential verification, analysis, prevention hooks, and broad integrations. The free open-source plan covers core scanning, while Enterprise adds monitoring, deployment choices, access controls, and support.
What the maker publishes
- Analysis
- TruffleHog Analyze identifies the resources and permissions associated with API keys and other secrets without requiring access to a provider’s UI. source
- Company
- Truffle Security Co. identifies itself as the company behind TruffleHog, and its website footer says “Since 2021.” source
- Deployment options
- The product can run on the company’s isolated servers or on-premises, where scanners can reach internal sources and source credentials can remain in the customer’s infrastructure. source
- Deployment security
- The company says each customer installation has a private environment and isolated database encrypted at rest, and deployments receive randomly generated infrastructure credentials. source
- Detection
- It scans version history across branches and can find secrets in comments, Docker images, and other locations beyond repositories. source
- Founded
- 2021 source
- Integrations
- The integrations page lists GitHub, GitLab, Bitbucket, Gerrit, Docker, Jenkins, Slack, Teams, Jira, Confluence, Google Drive, S3, and SharePoint, among others. source
- Notifications
- When a secret is discovered, TruffleHog can send a Slack message, create a Jira ticket, or use Splunk, webhooks, email, and stdout. source
- Open-source license
- The project’s GitHub repository identifies its license as AGPL-3.0. source
- Operating systems
- The project documents Homebrew installation for macOS, Windows Docker examples, and binary releases; its installer supports Darwin, Linux, and Windows on amd64 and arm64. source
- Prevention and remediation
- Pre-commit and pre-receive hooks can scan before commits, and alerts can link to credential rotation and security guides. source
- Purpose
- TruffleHog scans code repositories and other sources to find exposed secrets, passwords, and sensitive keys. source
- Secret handling
- The company says scanning occurs in memory and it stores only finding location metadata and redacted credential information, not the secrets themselves. source
- Support
- The Enterprise plan lists deployment and onboarding support plus ongoing priority technical support. source
- Verification
- For detected credentials, TruffleHog uses their protocol or API to verify whether they are live and reduce false positives. source
Checked against the maker's pages on 30 Sept 2026.