fix: detect pickle binunicode8 setitem abuse - #1524
Conversation
Performance BenchmarksCompared Top regressions:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 77e84e81ce
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f6a32cd1cf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Verified the concurrent target-scoping fix at |
|
@codex please publish local reviewed commit Critical follow-up on the current-main merge reproduced and fixed additional false positives and false negatives:
The branch also includes current public Validation, associated tests only:
Shell GitHub authentication rejected the push. Do not merge remote head |
|
Published the reviewed concatenated-stream fix requested in #issuecomment-4654449191 at The remote tree |
|
Fixed the Python CI regressions at |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ead71eda81
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Addressed both new P1 review findings in
Focused validation: Joblib codec and BINUNICODE8/CVE regression files passed; neighboring pickle/CVE selection |
|
Published the final Joblib routing hardening at The follow-up closes both newly found edges:
The exact published tree is |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8e80c70e74
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Scope CVE-2026-24747 SETITEM evidence to bounded pickle streams, preserve incomplete-stream coverage, and avoid near-match global false positives. Harden Joblib routing for truncated persistent-ID pickles.
fff5735 to
3e2b7c0
Compare
|
Audit follow-up pushed in |
Pull request was converted to draft
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 69a449ac45
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Addressed both post-merge P1 findings in #1603, now merged as
The same follow-up also restores the scan-time regression from about 110.8 ms to 73.2 ms against a 71.4 ms pre-regression baseline. Focused validation: 278 tests passed; targeted Ruff and mypy clean. |
Summary
BINUNICODE8to shared pickle literal analysis without treating byte literals asSTACK_GLOBALnamesSETITEM/SETITEMSevidence to the actual mutation target and to bounded individual pickle streamsFalse-positive / false-negative audit
STACK_GLOBALoperands retain stream-local attributionPERSID/BINPERSIDpayloads reach pickle analysis and emitS212_rebuild_tensor*are not treated as executable mutation targetsSTOP-prefixed text remain cleanpickletools.genopsValidation
270 passedtests/detectors/test_cve_detection.py_cases/test_pickle_binunicode8_setitem.pytests/scanners/test_joblib_scanner_codecs.pytests/scanners/test_pickle_scanner.pygit diff --check: clean0 KiBadditional peak RSS, about0.004sPublished state
6f4407d7f28f7dd61a6f520a493bf85c1a68123f69a449ac45b93099e3a6f7cfc572012e7692128bed6eb9e62e47dfcb53de3bbb50c6c21e071f107aAll inline review threads are resolved.