mirror of
https://github.com/openai/codex-security.git
synced 2026-11-25 02:58:16 +08:00
* 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>