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