OpenAI ships GPT-5.2-Codex with native compaction — and says a coding agent found the React bugs
OpenAI released GPT-5.2-Codex on December 18 as a GPT-5.2 variant tuned for agentic coding in Codex, adding native context compaction for long-horizon work, stronger large-refactor and migration performance, improved tool calling and vision, and better behavior in native Windows environments. OpenAI says it reaches state of the art on SWE-Bench Pro and Terminal-Bench 2.0, and that it is the strongest cybersecurity model it has shipped while still falling short of High cyber capability under its Preparedness Framework. It rolled out the same day across Codex surfaces to paid ChatGPT users, with API access described as coming in the following weeks and an invite-only trusted-access pilot for vetted defensive security professionals.
The post also disclosed provenance for three React vulnerabilities published on December 11: a principal security engineer at Privy, using GPT-5.1-Codex-Max with Codex CLI, was working to reproduce the React2Shell RCE disclosed on December 3 when the model surfaced unexpected behavior, and a week of guided fuzzing under expert direction led to three previously unknown flaws that were responsibly disclosed and patched.
WHY IT MATTERS
Native compaction is the operationally meaningful line item: long agent sessions previously died on context limits mid-refactor, and a model that summarizes its own history changes how you size sessions, checkpoints and retries in your harness. The React disclosure is the second half of the argument — the same class of tool accelerates both finding and exploiting vulnerabilities, so if you automate patch discovery you should expect your dependency tree to be scanned by agent-driven attackers at the same rate. Note the access constraint: API availability is deferred and cyber-capable access is gated behind a vetting pilot, which is a procurement variable if you build security tooling.

