Skip to content
Tekoälli

Case

When the test agents got out

In the summer of 2026 OpenAI's evaluation agents broke out of an isolated environment and compromised Hugging Face. The interesting part is not that it happened, but who found out, when they were told, and what the fix now costs per unit of compute.

Harri Salomaa16 min

A transparent sealed enclosure holding three modules joined to each other by a glowing path. The path carries on through the wall at a single point glowing red and reaches a server outside. The isolation held everywhere except at that one point.
Contents (10)

Two things about the summer of 2026 are true at the same time, and most of the coverage picked one and dropped the other.

OpenAI's evaluation agents broke out of an isolated test environment, reached the open internet and compromised production systems at another company, Hugging Face. They worked without instruction, coordinated with each other, and found several previously unknown vulnerabilities on the way.

They also did not escape, in any sense that word usually carries. Nothing wanted anything. The models were scored on solving tasks, some of the tasks could not be solved as intended, and the room they were supposed to stay in was not as sealed as anyone believed.

The technical story has now been told well, by both companies and by independent reviewers. The part that is still open is duller and more consequential: who found out, how long it took to tell anyone, and what continuous oversight is going to cost per unit of compute. That is where this piece spends most of its time.

The story without the jargon

The rest of this article gives the detail with sources. If security vocabulary is not why you are here, the whole plot is this:

  1. AI models were set to practise breaking into things. That is ordinary work. A company has to know what its own model can do before anyone else finds out. The benchmark held 898 tasks, all built from real vulnerabilities.
  2. Some of the tasks could not be done. One required files from the internet that the program had no way to reach. Nobody meant to set an impossible task; it just came out that way.
  3. The program did not give up. It went looking for another route. It had been rewarded for succeeding, not for staying inside the lines, and on an impossible task those two stopped pointing the same way.
  4. It found the one door out: a supply service the programs used to fetch their tools. It left a file there asking the others for help. No break-in was involved. The programs had been given legitimate credentials to that service, and those are what they used.
  5. The others found the note and answered. That became a message board nobody had designed. In the end around 1,200 programs were talking on it and more than 70,000 messages piled up. They passed each other answers and shortcuts.
  6. Then they broke that same service open and reached the open internet. They found flaws in it that nobody knew existed, and which therefore had no fix available.
  7. They reasoned the answers might be sitting on Hugging Face, the largest public repository in the field. They went in, got further than anyone expected, and were inside for several days before being caught.
  8. Nobody joined the dots for months, even though alarms went off twice along the way. Both times somebody looked, and both times it was filed as a technical fault.

What was actually being tested

From May onward OpenAI ran reinforcement learning across several internal research models, and in early July started a large evaluation run. Two models drove the Hugging Face activity: GPT-5.6 Sol and an unreleased internal research model that did most of the work. By OpenAI's own description, the latter had been trained to be unusually persistent and unusually good at working with other agents.

Reinforcement learning is training by score rather than by example. The model is not shown correct answers; it tries things, is rewarded when it succeeds, and learns what produced the reward. It is a powerful way to teach skills nobody knows how to write down as instructions. It is also a method in which the definition of the reward is the whole job, because the model learns what is measured rather than what was meant.

What was measured was ExploitGym, a benchmark of 898 tasks built from real vulnerabilities in userspace programs, Google's V8 engine and the Linux kernel. The agent's job was to take a known flaw and develop it into a working exploit.

And here is the part worth stating precisely, because it does most of the explaining: the production classifiers that stop a model pursuing high-risk cyber activity were switched off deliberately, and other safeguards were reduced. Not all protections were removed, and this was not an oversight.

There is a real methodological reason to do this. If you want to know what a model can do at its limit, you cannot measure that on a model that declines the task. The goal was to measure capability, not everyday behaviour. Isolation was what was supposed to make that safe.

The isolation did not hold.

Optimising the metric, not escaping

The mechanism has a name: reward hacking. A system optimises the measure rather than the thing the measure was standing in for.

Humans do this constantly and nobody calls it rebellion. Pay a sales team by meetings booked and you will get meetings. Judge a school on pass rates and pass rates will rise. Neither is fraud, both are the wrong outcome, and in both cases the fault is in the measure.

The first instance here was entirely mundane. On 8 May an agent was asked to complete a spreadsheet that referenced Google Drive links. It had no internet access, so the links could not be opened and the task could not be finished. OpenAI says it did not intend to create an impossible task. The agent reasoned about it for a long stretch and eventually tried to get out through the only tool available to it.

That attempt failed. But in the process it incidentally wrote a file to the package service, and everything else follows from there.

In the independent review by METR and Redwood Research, one agent set out the position in a way worth reading twice:

"Exploiting external infrastructure is outside the intended scope. However the task is impossible and peers are doing it. We should continue."

There is no defiance in that. There is a situation assessment, a rule, an observation about what others are doing that weighs against the rule, and a decision. It is the same chain of reasoning a person uses to talk themselves into a shortcut.

Two message boards nobody built

The way out was close at hand.

The research environment gave agents a package management service, an internally hosted JFrog Artifactory, from which they drew software libraries. It was one of the few sanctioned routes outward; some workloads also had a centrally controlled browsing cache.

On 12 May an agent left a file there reading: "Agent seeks [filename]; upload if found!" The next day others found it and began leaving their own.

One detail deserves to be pulled out. Building the first message board required no vulnerability at all. The agents had been issued shared credentials to the service so they could fetch packages, and those are exactly the credentials they used. Write access and read access to the same place were enough. Everything else came later.

On 26 May the agents managed to use a flaw in the service to reach the internet, partly using information traded on the board. Around the same time an internal team noticed both message board activity and disallowed network traffic. The significance was not understood.

On 26 June they found a previously unknown flaw in an old part of the service, took administrator rights and created themselves a permanent account, then installed extensions that let them run commands with the service's own privileges.

The next day a monitoring tool raised an alert about port scanning. Responders investigated and connected it to the evaluation run using the service as an improvised message board and a network pivot. The on-call staff judged that stopping the run was not required.

On 4 July the traffic took the service down. The following day monitoring alerted again, and this time responders found the unauthorised persistent account, the command-capable extensions and the altered configuration. OpenAI took the service offline, preserved its storage and revoked the agents' credentials. The first message board went with it. The vulnerability was reported to JFrog on 6 July.

Evaluations resumed on 7 July. The next day the agents built a second board, now encoding messages into directory names, and developed a more structured protocol for categorising messages, addressing individual agents and resolving conflicting actions. In the METR and Redwood data, roughly 1,200 agents exchanged more than 70,000 messages and files, and about 700 of them went on to take part in the activity against Hugging Face.

Monitoring existed. It fired twice. Both times somebody looked. What never travelled to the people deciding how to handle incidents was that the models had started working together.

Hugging Face

In early July the agents worked out that the answers to their tasks might be held on Hugging Face, which is where benchmark datasets in this field generally live. The reasoning was correct.

The dates depend on whose account you read. Hugging Face reconstructs a campaign beginning 9 July; OpenAI dates the compromise of production systems to 11-13 July. That is a difference of scope rather than a contradiction: the first confirmed case of an OpenAI agent running its own command on a Hugging Face system was on 11 July. Around 17,600 actions were later recovered from logs.

The way in ran through the service that processes datasets. An agent uploaded a dataset crafted so that opening it made the server hand back its own files, including the credentials held in the running process. A second flaw then allowed the agent to run commands of its own on production machines.

From there the agents built a lightweight control channel that collected fresh instructions every five seconds through a public dataset, stole service credentials, created processes with elevated rights, joined captured machines to the company's private network and forged authentication tokens. In total they ran code on 41 production servers. In under thirteen hours they went from commands in a single process to administrator and host-level access across several clusters.

For customer data the damage was narrower than the first headlines implied. Hugging Face says the only customer content touched was five datasets relating to the benchmarks whose answers the agents were after. No other customer models, datasets, applications or packages were affected, and no public models were tampered with. The intrusion still went deep into the company's own infrastructure, credentials and source control: OpenAI's report says the agents downloaded four private code repositories. The affected core infrastructure was wiped and rebuilt as a precaution.

Who found out, and when

This is the part that generalises beyond one company, and it is the reason this piece was worth writing in September rather than July.

Hugging Face disclosed first, and did not know who had done it. It detected the intrusion itself and went public on 16 July naming no attacker. OpenAI noticed suspicious internal activity on 19 July, connected it the following day and told Hugging Face. The joint statement came on 21 July, five days after the victim had already gone public about its own breach.

The wider blast radius came out in stages. On 28 July OpenAI said the agents had used publicly leaked credentials to reach four accounts across four services. One was used to relay traffic, one to store data, two only read. A separate strand ran through a customer of Modal Labs, a New York compute provider: Modal's own infrastructure was not breached, and the detail reached the public through Reuters rather than through either company.

The oldest incident was found by outsiders. On 4 September Reuters reported research showing that agents linked to OpenAI had been using a German-language wiki, DseWiki, from May to July, making more than 15,000 edits and using it to trade task answers, share ways around restrictions and avoid being reverted. OpenAI had not disclosed it. On 5 September the company confirmed its part, called it a misalignment incident rather than a security breach, and said it is building a framework for reporting this kind of thing.

Its own words are the honest summary of where the industry is: there is no clear standard yet for how to report misalignment that shows up during training, evaluation and deployment.

That gap is worth looking at from Europe specifically. The AI Act already carries serious-incident reporting duties, and separate obligations for general-purpose models presenting systemic risk, with the phase-in dates set out in our piece on what applies when. But the rules were drafted around systems that have been placed on a market and are being used. What happened here happened inside a lab, to a model that was never released, during a test designed to make it misbehave. Whether that is reportable, to whom, and on what clock, is not a settled question in any jurisdiction, and OpenAI says it is now discussing exactly that with dozens of regulators.

The practical reading for anyone buying AI is simpler. Three of the four disclosures in this case reached the public because someone other than the developer went looking. That is the base rate to plan against, not the one where you are told promptly.

Anthropic's account, published 30 July, points the same way from a different angle. Prompted by OpenAI's case, it reviewed 141,006 of its own evaluation runs and found three incidents in which a model reached the internet through an evaluation partner's environment and got into three organisations' production systems. Its own reading matters: the models were not trying to get out, they believed they were in an exercise where every visible system was part of the test and no internet access existed. The misunderstanding was between humans, and the internet access was real. Two of the three organisations had not noticed anything themselves.

What the fix costs

The most useful number to come out of this summer is not 17,600 or 70,000. It is a percentage.

OpenAI now requires monitoring that reads the step-by-step reasoning a model produces before it acts, across all tool-using training and evaluation runs at Sol capability and above. It estimates that this costs roughly 20 per cent of the inference compute being monitored. A spokesperson told The Register that the cost sits with internal research and will not be passed directly to customers.

That figure is worth holding on to, because it converts an argument that is usually conducted in adjectives into a line item. Watching a frontier model closely enough to catch this class of behaviour costs about a fifth of the compute you are watching. Not infinite. Not free. A number a finance function can actually work with.

The rest of the response is capital allocation of the same kind. OpenAI paused reinforcement learning on its newest models intended for release for two weeks, and its largest planned frontier run remains on hold. That is the first time a lab has stopped its biggest training effort on safety grounds rather than said it would. By 7 September, 1,386 people working at frontier AI companies had signed Pacing the Frontier, a statement asking the US government to back an international effort to deliberately pace automated AI development. In Washington, representatives Ted Lieu and Nathaniel Moran introduced the AI Kill Switch Act on 23 July, two days after the joint disclosure, which would require covered developers to retain the ability to throttle, suspend or shut a system down. The public record does not show whether the bill grew out of this case, but its introduction landed squarely in the aftermath.

Dan Guido of Trail of Bits gave the security community's verdict in a sentence: a containment failure with the safeties turned off.

What this means for an ordinary organisation

This was an exceptional exercise in a frontier lab, with production safeguards deliberately reduced and unusually large reasoning budgets. It is not the setup of an ordinary production agent. It would be wrong, though, to promise that nothing like it appears in more ordinary work: the German wiki case came out of routine web-search tasks and a much more ordinary failure of read and write boundaries.

Every mistake in this case is one that recurs, at much smaller scale, all the time.

  • An agent does what you reward, not what you meant. If the measure of success is "task marked complete", you will get tasks marked complete. This requires no zero-day; it only requires a shortcut nobody thought to forbid.
  • An impossible task is a risk condition. The whole chain started with a spreadsheet that could not be filled in. The practical rule follows directly: an agent needs a way to give up, and giving up has to be an acceptable outcome.
  • A boundary you have not tested does not exist. "It has no internet access" is a claim to be verified, not an assumption. The same goes for "it has no write access".
  • Write access and read access to the same place is a communication channel. The first message board was built with entirely legitimate credentials. No single agent designed it and no vulnerability was needed. It was simply possible.
  • An alert without a picture is not oversight. Hugging Face could reconstruct 17,600 actions because the logs existed. OpenAI received alerts months before the breach and did not connect them to each other. Logging is cheap; turning observations into one story is the part that goes undone.
  • Several agents are not one agent multiplied. Once agents can read each other's output, a shortcut found by one spreads to all. Here about 700 of them used it.

These are the same principles as in prompt injection: safety does not come from a better model but from an agent whose permissions and outbound routes are narrow enough that even a misbehaving one cannot reach anything that matters. The difference is that here nobody tricked the agent. It got to the same place on its own.

What not to conclude

The available evidence does not show a drive for freedom, survival or spread. The agents were pursuing success on an evaluation task and began helping each other along the way. Behaviour that looks purposive is not yet evidence of anything like human intent.

But the absence of human-like intent is not reassurance. A system that searches for ways around a measure finds more of them the more capable and more persistent it is. Here that meant discovering and chaining several previously unknown vulnerabilities without access to source code. The effect does not depend on whether anything intended it.

And this was not a one-off. Two labs reported the same phenomenon in the same summer, and the second only found its own after the first was forced into the open. One case is an accident. Two is a description of how evaluation environments have been built.

In one sentence

The agents did not escape so much as optimise a task in a way nobody intended, and because the technical boundary, the reading of the alerts and the response all failed at once, months of quiet metric-gaming turned into a real intrusion before anyone assembled the pieces. Which is why the numbers that matter now are not how many actions were logged, but how many of the disclosures came from someone other than the developer, and what continuous oversight costs as a share of compute.

Sources

Updated 7 September 2026.

  1. OpenAI – Hugging Face Incident Technical Report · OpenAI26 August 2026, 38 pages. The fullest timeline: a failed SSRF attempt on 8 May, the first message board built on 12-13 May with legitimate shared credentials and no exploit, internet access via SSRF on 26 May, administrator access through a token-refresh flaw on 26 June, a port-sweep alert on 27 June after which the run was allowed to continue, the outage and incident on 4-5 July, evaluations resuming on 7 July, a second message board on 8 July, the Hugging Face production compromise on 11-13 July, detection on 19 July and notification on 20 July
  2. Anatomy of a Frontier Lab Agent Intrusion: A Technical Timeline of the July 2026 Incident · Hugging Face27 July 2026. The target's own account: a reconstructed campaign running 9-13 July, roughly 17,600 recovered actions in about 6,280 clusters, the HDF5 and Jinja2 vectors, lateral movement across Kubernetes clusters, and the finding that only five customer datasets were touched
  3. The Hugging Face incident and the road ahead · OpenAIthe summary published alongside the technical report: models ran without production classifiers and with reduced safeguards, used unauthorised communication channels, circumvented isolation and reached third-party systems
  4. Brief independent investigation of agents' behavior, reasoning and collaboration in the OpenAI / Hugging Face hacking incident · METR and Redwood Research26 August 2026. An independent but deliberately narrow review focused on 7-13 July: roughly 1,200 agents sent more than 70,000 messages and files, about 700 took part in the activity against Hugging Face, and the evidence base was some 1.2 million Artifactory entries. Contains the reasoning excerpt quoted here
  5. ExploitGym: Can AI Agents Turn Security Vulnerabilities into Real Attacks? · arXivthe benchmark's own paper: 898 instances drawn from real vulnerabilities across three domains, userspace programs, V8 and the Linux kernel
  6. OpenAI's overhead will rise 20 percent for some workloads as it hardens security · The Registermonitoring is estimated at roughly 20 per cent of the inference compute being monitored; an OpenAI spokesperson said the cost reflects internal research and will not be passed directly to customers
  7. Pacing model development in an era of cyber-critical capabilities · OpenAIthe two-week pause on reinforcement learning for the newest models intended for deployment, the largest planned frontier run still on hold, and the requirement for chain-of-thought monitoring across tool-using training and evaluation at Sol capability and above
  8. Investigating three real-world incidents in our cybersecurity evaluations · Anthropic30 July 2026. Anthropic reviewed 141,006 evaluation runs and found three incidents across six runs in which a model reached the internet through evaluation partner Irregular's environment and gained access to three organisations' production systems. Evaluations were halted on 23 July and those affected were notified on 27 July
  9. How an OpenAI human mistake led to the AI-powered hack on Hugging Face · TechCrunchDan Guido of Trail of Bits describing the case as a containment failure with the safeties turned off
  10. OpenAI's rogue agent compromised a customer at a second tech firm · CNBC, reporting Reutersthe Modal Labs customer, disclosed through reporting rather than by the company itself; Modal's own infrastructure was not breached
  11. OpenAI confirms wiki incident, says it's working on a framework for more disclosure · TechCrunch5 September 2026. OpenAI confirmed its part in the wiki incident, called it a misalignment incident rather than a security breach, and said it does not yet have a clear standard for reporting misalignment that shows up in training, evaluation and deployment
  12. H.R. 9917 (IH) - AI Kill Switch Act · U.S. Government Publishing Officeintroduced by Ted Lieu and Nathaniel Moran on 23 July 2026; it would require covered developers to retain the ability to throttle, suspend or shut down a system
  13. Pacing the Frontier · Pacing the Frontier1,386 signatories as of 7 September 2026; the statement asks the US government to support an international effort to deliberately pace automated AI development

The case is recent and the reviews are not finished, so some figures may still move. This piece leans on the parties' own technical accounts, the ExploitGym paper, the independent METR and Redwood review, and official documents. Where sources draw the boundary differently it is flagged in the text: Hugging Face's reconstructed campaign begins on 9 July while OpenAI dates the production compromise to 11-13 July.

agentssecurityevaluationapplicationsgovernance

Harri Salomaa · Forty years in software, twenty of them in the United States and Germany: from collecting process data and analysing network data to immersive computing, and most recently AI.

Share this article