codex-security icon indicating copy to clipboard operation
codex-security copied to clipboard

Match equivalent findings across Standard and Deep scans

Open soyeon-oai opened this issue 3 months ago • 2 comments

Standard and Deep scans of the same repository revision can assign different identity.anchor values to the same vulnerability. Consequently, scans compare may report the previous finding as unknown and the equivalent new finding as newly introduced.

Reproduction: run both scan modes against the same synthetic vulnerable repository, then compare their results.

Expected: equivalent findings with matching vulnerability families and source locations remain identifiable across scan modes.

soyeon-oai avatar Aug 27 '26 03:08 soyeon-oai

Hi, I’d like to work on this issue. I’ll investigate how identity.anchor is generated across Standard and Deep scans, identify why equivalent findings receive different anchors, and add a fix with regression tests. I’ll share my plan ASAP. Please confirm before I start investigating and implementing a fix.

su-jin1425 avatar Aug 28 '26 04:08 su-jin1425

I've opened a PR to fix this issue https://github.com/openai/codex-security/pull/832

IvanCaceres avatar Sep 09 '26 16:09 IvanCaceres