Skip to content
secret-scan
Menu

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.