You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--only-verified means a leaked private key in git history cannot redden the security gate #848
Both TruffleHog steps pass extra_args: --only-verified. That flag reports only credentials TruffleHog can verify against the live service, so an
entire class of real leaks cannot turn the gate red.
Measured
A real 2048-bit RSA private key committed to a scratch repo, then deleted from
the worktree so it survived only in git history:
verified_secrets: 0
unverified_secrets: 3
With --only-verified the job is green. A leaked private key — the single
highest-severity thing a secret scanner exists to find — cannot be verified
against any endpoint, so it is silently filtered out.
This also makes #844's AC5 as written unsatisfiable: a planted dummy credential
cannot redden the gate, because a dummy by construction does not authenticate.
The tension to resolve deliberately
Dropping --only-verified outright will surface unverified findings including
false positives, and a noisy gate gets ignored — the same failure mode #844 was
about, approached from the other side. So this needs a decision, not a flag
flip.
Acceptance criteria
A stated policy on which detector classes fail the build unverified —
private keys and other non-verifiable high-severity types are the obvious
candidates.
Implemented so the gate reddens on a planted private key in history,
proven by a mutant that is reverted afterwards.
A clean positive control: the unmutated tree stays green.
The job prints its denominator — findings by verification status — so a
zero-finding run is distinguishable from a run that scanned nothing.
Any accepted-noise exclusions are listed explicitly in the workflow, not
implied by a filter flag.
Activity
fix(security): make the security workflow able to report a bad result (…