TruffleHog is a secret scanning engine that detects and helps resolve exposed secrets across your entire tech stack.
TruffleHog is a powerful secrets Discovery, Classification, Validation, and Analysis tool. In this context secret refers to a credential a machine uses to authenticate itself to another machine. This includes API keys, database passwords, private encryption keys, and more.
This is free and open source software.
Features include:
- Discovery – look for secrets in many places including Git, chats, wikis, logs, API testing platforms, object stores, filesystems and more.
- Classification – classifies over 800 secret types, mapping them back to the specific identity they belong to.Validation – for every secret TruffleHog can classify, it can also log in to confirm if that secret is live or not. This step is critical to know if there’s an active present danger or not.
- Analysis – TruffleHog can send many requests to learn everything there is to know about the secret.
Website: github.com/trufflesecurity/trufflehog
Support:
Developer: Truffle Security Co.
License: GNU Affero General Public License v3.0

TruffleHog is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Secret Scanning Tools | |
|---|---|
| Gitleaks | Detects secrets and credentials in Git repositories |
| TruffleHog | Finds, classifies and verifies exposed secrets across many sources |
| detect-secrets | Helps detect and prevent secrets from being committed to source code |
| Talisman | Checks Git changes for secrets and sensitive data before they are committed |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.