trufflehog-cli

trufflehog-cli is a skill for Claude Code, Codex from addxai/enterprise-harness-engineering. It costs 67 tokens per session (1,141 once invoked), scanned A, original, Apache-2.0.

A TruffleHog command-line guide for finding exposed secrets such as API keys and passwords in local files, Git history, and remote GitLab repositories.

In plain words
What is it for?
Use it for local and remote secret scans, pre-commit checks that block new leaks, and single-credential verification.
Why use it?
It helps identify leaked credentials before they are committed, and check whether a particular credential still works after it has been rotated.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the enterprise-harness-engineering plugin — 25 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/addxai/enterprise-harness-engineering/trufflehog-cli
Any agent
npx skills add addxai/enterprise-harness-engineering --skill trufflehog-cli
Clone the repo
git clone --depth 1 https://github.com/addxai/enterprise-harness-engineering

Made for: Claude Code, Codex.

Or install enterprise-harness-engineering, the plugin that ships this one along with the rest of its 25 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for trufflehog-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/trufflehog-cli.svg)](https://agentmods.dev/skills/addxai/enterprise-harness-engineering/trufflehog-cli)
Your own site
<a href="https://agentmods.dev/skills/addxai/enterprise-harness-engineering/trufflehog-cli"><img src="https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/trufflehog-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,141 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.01141
Opus 5 $0.00034 $0.00571
Sonnet 5 $0.00013 $0.00228
Haiku 4.5 $0.00007 $0.00114

Measured 6d ago against content hash ea440f8da1d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

trufflehog-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/install-trufflehog.ps1, scripts/install-trufflehog.sh, scripts/pre-commit-trufflehog.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/trufflehog-cli/SKILL.md · 144 lines

How it starts

The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.

trufflehog-cli

Unified entry point Skill for TruffleHog CLI in this repository.

Load modules on demand:

For reproducible, auditable installation workflows, use the built-in scripts:

For pre-commit, use the built-in wrapper script:

Description

Treat this Skill as the company's standard operating manual for TruffleHog CLI.

It covers four primary workflows:

  • Local scanning: developer workstation files and local Git history
  • Pre-commit integration: block new leaks before they are committed
  • Remote repository scanning: scan a single HTTPS remote repository
  • Credential verification: confirm whether a leaked credential is still active

Do not extend this Skill into general-purpose SAST, dependency vulnerability scanning, or code auditing.

Rules

Rule 1 - Read the unified baseline first

Read install-and-baseline.md first.

Baseline rules apply to all workflows:

  • Version is sourced from trufflehog-version.txt as the single source of truth
  • Must use official GitHub Release binaries and verify the official checksum
  • All commands must include --no-update by default
  • Scan artifacts go to the system temp directory, never the repository root
  • Tokens must not appear in repository URLs or command-line arguments
  • Reports may only use TruffleHog's Redacted output; raw secret values must never be printed

Read the full file on GitHub · 144 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 144 lines · 67 tokens per session scan A ea440f8da1d4

Subscribe to this mod's changes

trufflehog-cli is a skill published in the GitHub repository addxai/enterprise-harness-engineering (44 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 67 tokens to every session and 1,141 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

git-guardrails

Use this skill to enforce strict safety boundaries on git operations, branch management, and destructive shell commands. Prevents accidental force pushes, hard resets, secret commits, unstashed code loss, and unauthorized production branch modifications.

karthikrshet/aiskills · 50 tokens

git-advanced-workflows

Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.

wshobson/agents · 54 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

wshobson/agents · 35 tokens

chinese-git-workflow

国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 69 tokens

chinese-commit-conventions

中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 65 tokens

peon-ping-toggle

Toggle peon-ping sound notifications on/off. Use when user wants to mute, unmute, pause, or resume peon sounds during a Claude Code session. Also handles config changes like volume, pack rotation, categories — any peon-ping setting.

PeonPing/peon-ping · 58 tokens