betterleaks scans working-tree contents of both branches for leaked API keys, tokens, private keys, and other secret patterns. Unlike IaC/SCA, it has no severity taxonomy — findings are prioritized by repository visibility: a secret leaked in a public repo is immediately exposed, so public repos are always treated as urgent regardless of ZAGWARE_FAIL_ON_NEW.
Scanning runs against current filesystem state only (working-tree diff, matching the IaC/SCA architecture) — not full git history. If a secret was introduced and later removed within the PR's own history, it won't be re-flagged once it's gone from the working tree.
Findings never include the raw secret value anywhere — PR comment, platform upload, or scan artifacts — only rule id, file path, line number, tags, and whether betterleaks confirmed the credential is live.