REA TruffleHog notes (unofficial)
TruffleHog trees (detector / verifier / exclude / config pins) record secret-scanning identity. In REA 6.7.x, treat selected detector and exclude labels as Evidence beside archive/package routes — complementing Gitleaks cousins without inventing APIs. Distinct from rea-gitleaks (TruffleHog ≠ Gitleaks) and rea-gitleaks-toml (stack identity ≠ TOML depth). Preferred slug kept free — KEEP.
Mental model
- Authorize the TruffleHog config tree (+ packaged charts you hold).
- Quote selected detector / verifier / exclude labels you actually see (never paste live secrets).
- Cousins → gitleaks · gitleaks-toml · snyk · dependabot.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_trufflehogAPI REA never called.
Minimal path
# authorized TruffleHog config / detector / exclude pins (+ charts you hold)
# quote selected detector / verifier / exclude labels into case notes (never live secrets)
# cousins → peer Gitleaks / Gitleaks TOML lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_trufflehog .
Compare
| Artifact | Honest posture |
|---|---|
| detector / exclude pins | TruffleHog stack identity facts |
| Peer | rea-gitleaks |
| Peer | rea-gitleaks-toml |
| Not this | rea-snyk (Snyk zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected detector names, verifier flags, and exclude path labels only — enough for most Evidence binders.
- Live secrets, tokens, and private keys are secrets — record finding labels only, never raw values.
- Keep TruffleHog stack identity distinct from Gitleaks trees in case notes.
- Chart image tag pins are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for live TruffleHog scans.
Scope we will not cover
- No inventing
inspect_trufflehog/ automatic scans against foreign repos. - No credential theft from live secrets found in trees.
- No pirate redistribution of proprietary TruffleHog trees.
- No crack framing via TruffleHog pins.
- No cookbooks that weaken secret-scan policy on foreign accounts.
- No using TruffleHog as an unauthorized secret-harvest guide against repos you do not own.
Honest limits
RepoRead documents config literacy — how authorized TruffleHog trees relate to Evidence — not a full secret-scanning course. Prefer upstream TruffleHog docs; use rea-gitleaks for Gitleaks peers. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-gitleaks / rea-gitleaks-toml / rea-snyk / rea-dependabot?
rea-gitleaks covers Gitleaks stack identity. rea-gitleaks-toml covers Gitleaks TOML. rea-snyk covers Snyk. rea-dependabot covers Dependabot. This page zooms on TruffleHog secret-scanning stack identity — it does not overwrite those pages.
Is there inspect_trufflehog in 6.7.0?
Not assumed. Quote trufflehog config / detector / verifier / exclude pins you actually open, then use documented package/archive lanes. Do not invent inspect_trufflehog.
Does REA call TruffleHog APIs or steal secrets?
No. Local trees only. Redact live secrets found in scans; do not treat REA as a TruffleHog runner. No credential theft.
How should I label Evidence vs Gitleaks trees?
Label Evidence by the file present. Keep TruffleHog stack identity separate from rea-gitleaks and rea-gitleaks-toml.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).