Skip to content
Back to skills

Trufflehog Credential Leak Scanner

ASecurity

Find, verify, and analyze leaked credentials across Git repositories, Slack, Jira, Docker images, and more using TruffleHog. Classifies 800+ secret types and validates whether discovered credentials are live.

  • 67 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentsgodockergitsecurity

Works with

  • claude code

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill trufflehog-credential-leak-scanner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Trufflehog Credential Leak Scanner?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Trufflehog Credential Leak Scanner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-trufflehog-credential-leak-scanner/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-trufflehog-credential-leak-scanner)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "TruffleHog Credential Leak Scanner"
slug: "trufflehog-credential-leak-scanner"
description: "Find, verify, and analyze leaked credentials across Git repositories, Slack, Jira, Docker images, and more using TruffleHog. Classifies 800+ secret types and validates whether discovered credentials are live."
github_stars: 25299
verification: "security_reviewed"
source: "https://github.com/trufflesecurity/trufflehog"
category: "Security & Verification"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "trufflesecurity/trufflehog"
  github_stars: 25299
---

# TruffleHog Credential Leak Scanner

Find, verify, and analyze leaked credentials across Git repositories, Slack, Jira, Docker images, and more using TruffleHog. Classifies 800+ secret types and validates whether discovered credentials are live.

## Installation

Use the upstream install or setup path that matches your environment:
- docker run --rm -it -v "$PWD:/pwd" trufflesecurity/trufflehog:latest github --org=trufflesecurity
- brew install trufflehog
- docker run --rm -it -v "$PWD:/pwd" trufflesecurity/trufflehog:latest github --repo https://github.com/trufflesecurity/test_keys
- docker run --rm -it -v "%cd:/=\%:/pwd" trufflesecurity/trufflehog:latest github --repo https://github.com/trufflesecurity/test_keys

Requirements and caveats from upstream:
- ### Docker:
- <sub><i>_Ensure Docker engine is running before executing the following commands:_</i></sub>
- ### Using installation script, verify checksum signature (requires cosign to be installed)

Basic usage or getting-started notes:
- # :rocket: Quick Start
- Clone the git repo. For example [test keys](git@github.com:trufflesecurity/test_keys.git) repo.

- Source: https://github.com/trufflesecurity/trufflehog
- Extracted from upstream docs: https://raw.githubusercontent.com/trufflesecurity/trufflehog/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/trufflehog-credential-leak-scanner/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.