📈 GH Trending Explorer 🎲 Surprise me

← all repos

trufflesecurity / trufflehog

git clone https://github.com/trufflesecurity/trufflehog.git v3.99.3 · 1d ago 🔥 on GitHub Trending today

Find, verify, and analyze leaked credentials

—
stars, 24h
—
stars, 7 days
+671
stars, 30 days · #440
29k
★ total
2.7k
forks · 584 open issues

Star history starts 2026-10-20; the chart appears after the second daily snapshot.

LanguageGo
LicenseAGPL-3.0
Created2016-12-31 (9y ago)
Last pushtoday
Watchers216
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-20 — #14 monthly in go · +671 ★

GitHub topics

Links

README excerpt
TruffleHog 
 Find leaked credentials. 
---
---
# :mag_right: _Now Scanning_
**...and more**
To learn more about TruffleHog and its features and capabilities, visit our product page.
# :globe_with_meridians: TruffleHog Enterprise
Are you interested in continuously monitoring **Git, Jira, Slack, Confluence, Microsoft Teams, Sharepoint (and more)** for credentials? We have an enterprise product that can help! Learn more at .
We take the revenue from the enterprise product to fund more awesome open source projects that the whole community can benefit from.
# What is TruffleHog 🐽
TruffleHog is the most 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.
## Discovery 🔍
TruffleHog can look for secrets in many places including Git, chats, wikis, logs, API testing platforms, object stores, filesystems and more.
## Classification 📁
TruffleHog classifies over 800 secret types, mapping them back to the specific identity they belong to. Is it an AWS secret? Stripe secret? Cloudflare secret? Postgres password? SSL Private key? Sometimes it's hard to tell looking at it, so TruffleHog classifies everything it finds.
## 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 🔬
For the 20 some of the most commonly leaked out credential types, instead of sending one request to check if the secret can log in, TruffleHog can send many requests to learn everything there is to know about the secret. Who created it? What resources can it access? What permissions does it have on those resources?
# :loudspeaker: Join Our Community
Have questions? Feedback? Jump into Slack or Discord and hang out with us.
Join our Slack Community
Join the Secret Scanning Discord
# :tv: Demo
 [code] 
# :floppy_disk: Installation
Several options are available for you:
### MacOS users
 [code] 
### Docker:
 _Ensure Docker engine is running before executing the following commands:_ 
####     Unix
 [code] 
####     Windows Command Prompt
 [code] 
####     Windows PowerShell
 [code] 
####     M1 and M2 Mac
 [code] 
### Binary releases
 [code] 
### Compile from source
 [code] 
### Using installation script
 [code] 
### Using installation script, verify checksum signature (requires cosign to be installed)
 [code] 
### Using installation script to install a specific version
 [code] 
# :closed_lock_with_key: Verifying the artifacts
Checksums are applied to all artifacts, and the resulting checksum file is signed using cosign.
You need the following tool to verify signature:
- Cosign
Verification steps are as follows:
1. Download the artifact files you want, and the following files from the releases page.
 - trufflehog\_{version}\_checksums.txt
 -