mirror of
https://github.com/openai/codex-security.git
synced 2026-11-24 22:51:33 +08:00
* fix(threat-model): count only CR and LF as assessment line breaks The explorer validated evidence line ranges against assessment.splitlines(), which also breaks lines at form feeds and Unicode line separators. An assessment containing one of those shifted the numbering, so a correct range was rejected and a wrong one accepted. Split only on CR, LF and CRLF, like the finding source excerpts do. * refactor(threat-model): validate evidence against assessment bytes * test(explorer): cover Unicode separators in assessment evidence ranges --------- Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com> Co-authored-by: Michael D'Angelo <mdangelo@openai.com>