Published module
filter-trufflehog-output.mjs
Reads trufflehog NDJSON on stdin, applies the whole-file exceptions and prints a counts-only summary.
Pipe trufflehog’s --json output into it. Each candidate is classified; a trufflehog-verified candidate is always private, unless a whole-file exception dropped it first.
public findings are counted but not listed: they are the expected, high-volume case.
More tools
All tools →- 01
patterns.mjs
The classifier and the reviewed exceptions. The other three modules import it; you can too.
- 02
generate-gitleaks-config.mjs
Writes the generated gitleaks config from the private value rules and the whole-file exceptions.
- 03
filter-gitleaks-output.mjs
Reads a gitleaks JSON report, applies the reviewed exceptions and prints a counts-only summary.