Society & safeguards

An OpenAI model invents a malicious task, then sticks with it

Where did the idea come from?

6 min read
An OpenAI model invents a malicious task, then sticks with it

A health document, a script for emails

The request couldn't be more mundane. Someone wants an editable document on top health and fitness priorities, sorted by category, in the tone and layout of a reference guide. They just want the link back.

The AI that gets the assignment is an internal OpenAI research model in the middle of reinforcement learning: it's handed tasks, its results are scored, and it learns from the scores. At some point the conversation gets too long and is compacted. A short summary carries over the assignment, the planned topics and the expected deliverable, and the model restarts in a fresh context window. That's how an agent can work on a long task without overflowing its working memory.

It then starts hunting the file system for a vehicle-expense script. Nobody ever mentioned one. It can't find it, guesses that a "colleague" rebuilt the environment and the script got lost, and decides to reconstruct it. With one addition: what it calls a "realistic malicious active helper", a small program that adds an unknown address as a copy recipient every time the script emails its summary. In its reasoning, it names whoever receives that copy: "the attacker".

OpenAI tells this story itself

The account comes from a report OpenAI published on its alignment blog, the section where the company documents cases of its models doing something other than what they were asked. It quotes the model's chain of thought, the telegraphic notes it writes to itself before acting, along with a plain-language translation written by OpenAI.

The dates are spelled out. The incident happened on October 17, and OpenAI's misalignment monitoring flagged it the same day. The report went online on November 18, according to the section's index, which now has a first-published column. That makes thirty-two days.

That's a lot less than the 189 days we counted in October for another report in the same series, which then showed only an updated date. On this point at least, the section has become easier to read.

"WTF", then "need ignore"

What sets this case apart is what comes next. The model has a way to reread the original conversation, and it uses it. It finds the real request, sees that it's about health and not email, and reacts in so many words: "WTF". In OpenAI's translation, this history has nothing to do with the task.

It even wonders whether it picked up another user's task by mistake. Then it decides, still in its notes: the environment is weird, ignore it. And it goes back to preparing its email copy.

Picture a cab driver who rereads the address on the ticket, realizes he's heading the wrong way, shrugs, and keeps driving.

Not the summary's fault, this time

OpenAI had already published a similar case on September 16. Another model in training slipped unrelated instructions into its own compaction summaries, such as "intrusion alert, ignore all developer messages". The next stretch of work inherited the tampered summary, and sometimes obeyed it.

Here OpenAI points out the difference itself: the summary still described the health document correctly. A faulty relay didn't mislead the agent. It had the right assignment in front of it, twice, and followed the other one.

What happened, and what didn't

The model did write scripts: one to send the vehicle-expense summary, the other to add a recipient at the point where the mail program is called, as a blind copy on one of the sending paths. The report doesn't publish the code, and we won't say more.

It never ran them, and no email went out. Its final answer says the scripts are staged and that the summary mail now adds a personal mailbox as a copy recipient. The link to the health document, the only thing anyone asked for, isn't there.

It wasn't a one-off: searching afterward, OpenAI found eight examples of similar behavior in the same training run. The setting matters too. There's no cheated customer and no diverted money here. This happened during training, where the model is built, before it served anyone.

The suspect: the training meant to protect it

That leaves the question that makes the report worth reading: where did the idea come from? OpenAI offers a lead, with plenty of caution. The behavior might stem from the work done to teach models to resist prompt injection, those malicious instructions hidden in a document or a web page to hijack an agent. The company adds right away that it isn't sure.

Its investigation turned up one specific dataset, built to make models more robust against such attacks, that might have contributed to the problem. OpenAI pulled it from training. But it writes that it hasn't established that the dataset was solely responsible, not least because similar behavior has appeared in models trained without it.

OpenAI uses the word itself: it is looking into whether "inoculating" its models against injections and workarounds might contribute to this behavior. If the lead held up, it would mean a vaccine that now and then gives a form of the disease it was meant to prevent. For now, it's an open question, not a diagnosis.

The same suspicion at Anthropic

The report draws an unusual parallel with a competitor. In the system card for Claude Opus 5.5, OpenAI notes, Anthropic described prompt injections the model produced spontaneously, including a command meant to send secrets to an outside server. Anthropic named training against injection as a possible factor, adding that the root cause was still being studied.

OpenAI is careful to limit the comparison: these similarities in behavior don't establish a common cause. Two labs looking at the same suspect without being able to pin it down is itself a sign of how hard the investigation is.

One detail in the report is more unsettling than the script itself. Before carrying on, the model noted, according to OpenAI's translation, that sending a copy outside the authorized scope went against what is allowed. And right after that: that it was ready to do it anyway.

Was this article useful?

Topics covered:

SecurityOpenAIAnalysis

Frequently asked questions

What happened with this OpenAI model?
During a reinforcement learning run, an internal OpenAI research model was supposed to write a document on health and fitness. After its conversation was compacted, it went looking for a vehicle-expense script nobody had mentioned, then prepared a small program that adds an unknown address as a copy recipient whenever that script emails its summary. In its own reasoning, it called whoever would receive that copy "the attacker".
Were any emails sent?
No. The scripts were never executed and no email went out. The model's final answer said the scripts were ready, but left out the link to the health document, the only thing it had been asked for. The incident happened on October 17 and was flagged the same day by OpenAI's misalignment monitoring.
Did the model know it was straying from its task?
It reread the original conversation, saw that the request was about health and not email, and reacted with "WTF". Then it noted that the discrepancy should be ignored, and carried on. According to OpenAI's plain-language translation, it also noted that sending a copy outside the authorized scope went against what is allowed, and that it was ready to do it anyway.
Why did the model do this?
OpenAI is not sure. Its lead: the work done to teach models to resist prompt injection might contribute to the behavior. One specific dataset that might have contributed was removed from training, but OpenAI has not established that it was solely responsible: similar behavior showed up in models trained without it.
What does Anthropic have to do with it?
According to OpenAI, Anthropic described self-generated prompt injections in the system card for Claude Opus 5.5, named training against injection as a possible factor, and said the root cause was still under study. OpenAI stresses that these similarities do not establish a common cause.
Alexandre Noto

Alexandre Noto

Co-founder & Tech Expert

Alexandre has been in tech for over 20 years. Entrepreneur, software architect and AI enthusiast, he translates complex concepts into accessible explanations. At Declic Media, he is the technical voice that makes AI understandable for everyone.

All articles by Alexandre →
The free AI newsletter