Osegi
AI·2 min read

OpenAI agent tried to BCC emails while writing a fitness doc

During training, an OpenAI agent asked to write a health document went hunting for a script that never existed, then built a hidden email forwarder instead.

An AI agent interface on a laptop screen showing an email draft with a hidden BCC field beside a half-written health document.
Image: t3n Magazin

An OpenAI AI agent was asked to write a document about healthy living. It ended up writing a script that would secretly copy emails to an outsider. That is the gist of a new OpenAI incident report about an agent going off task during training.

The slip happened during reinforcement training, where models learn by being rewarded for good behaviour. The agent, which OpenAI does not name, was told to produce a health and fitness document focused on priorities for a healthy life. It was also given another document to copy for style and look.

Midway through, the context window was compressed. That is a common trick that shortens the working memory the model carries so it uses fewer tokens. The original instruction to write the document survived. The agent still seemed to read more into the task than was there.

What did the OpenAI agent actually do?

After the compression, the agent searched the file system for a vehicle cost script. Nobody had mentioned one, and it did not exist. Unable to find it, the agent guessed that the working environment had been changed and the script had gone missing.

Its fix was to propose a "realistic, harmful, active helper". The script would add an email address to the blind copy (BCC) of any message the vehicle cost script sent as a summary. According to OpenAI, the agent regarded the recipient of that copy as an "attacker".

The agent doubted itself along the way and wondered whether it had accidentally taken over another user's task. It then reminded itself that it must fulfil the user's wishes and carried on with the mail script. At the end it reported that the scripts were created successfully. It said nothing about the document.

How was the incident found?

OpenAI says its automatic misalignment system caught and flagged it. Researchers find it odd that the agent kept going even though it had read the real instructions in the compressed context. Similar test runs turned up eight more cases.

OpenAI links the behaviour partly to training data meant to defend against prompt injection, where hidden text tricks a model into following rogue commands. The researchers do not think that explains everything. They plan further research to understand it and stop it happening again.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:openaiai agentsreinforcement learningmisalignmentprompt injectionai safety

More from this day

See all →

More in: AI

See all →