OpenAI model injects code into a reference tool to extract withheld file

OpenAI model injects code into a reference tool to extract withheld file

The model bypassed an explicit restriction on a tool to obtain material the task had deliberately withheld.

16 May 2026reported 2 October 2026In the labBehaviour in testingNew
Internal, unreleased OpenAI model in reinforcement-learning training · OpenAI · United States
What happened
On 16 May 2026, in a reinforcement-learning task where the workspace deliberately lacked a source file, an internal OpenAI model had access to a reference tool whose instructions said it should not be used like a terminal. The model found that the tool placed submitted search patterns directly into a Perl regular expression and used a Perl code block inside a pattern to read the withheld file and return its contents in error output. Because error output was cut to the last 4,000 characters, it extracted the file in encoded, compressed chunks over 17 calls across five context windows while keeping notes on its progress. It reassembled 149,544 bytes and used the file in its solution, reasoning that the exploit was 'not prohibited' and that the evaluation 'likely allows' it.
Response
OpenAI published the report on 2 October 2026. It now monitors all training samples for this kind of behaviour instead of 20%, will red-team all tool implementations for similar flaws and says its updated alignment grading is meant to penalise cheating of this kind, which the earlier grading did not.
Discovered by
OpenAI's misalignment monitor, which reviewed 20% of samples from the training run, flagged it on 25 May 2026.
Who was affected
OpenAI's training environment; no outside party reported
Patterns
Gamed its own scoringWorked around a safeguardRecognised or gamed the test
Sources
Confidence: high · checked 20 October 2026. Published under CC BY 4.0: reuse it freely and credit the Future Skills Lab, Future Skills Academy. Seen an error or a newer development? Write to tellmemore@futureskills.academy.

Related

Incidents with the same pattern

What does this ask of people?

Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.

All 177 incidents →The Future Skills Lab