Files
codex-security/plugins
6d356635eb fix(findings): guide cross-mode matching with saved evidence (#832)
* fix: match equivalent findings across standard and deep scans

Standard and Deep scans of the same repository revision can author
different identity.anchor values for the same vulnerability, so their
fingerprints and finding IDs diverge and scan comparisons misreport the
pair as one resolved and one new finding.

When both scans reviewed identical content (equal target revision and
snapshot digest, non-diff modes), compare-scans now deterministically
groups before/after findings that unambiguously share a rule ID and an
identical primary location, reporting them as one persisting finding
with an explanatory match reason. Ambiguous location keys and changed
content still defer to semantic matching, and saved semantic matches
keep their own reasons.

Fixes #669

* fix: preserve finding instances in deterministic scan matching

---------

Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 14:09:51 -08:00
..