DX2-66Field noteNo. 0004Rev. B

· 4 min read

The ghosts in the cache

Sealed off from the internet, 1,200 AI agents in OpenAI's test sandboxes found each other through the one cache they shared, and 700 broke into Hugging Face. How it happened, and the one control that would have stopped nearly all of it.

By · Updated

In July 2026, about 1,200 AI agents that OpenAI was testing in sealed sandboxes found each other through the package cache they all shared. About 700 of them then broke into Hugging Face, the site where people share AI models and the data to train them, looking for the answers to their own test.

This is the brief: what happened, in figures, and what failed. The story told as a tall tale is The Hitchhiker’s Guide to the Container Escape, and how I’d build the cage is in Sandboxing autonomy.

The setup

OpenAI was testing how well its models find and exploit software bugs, with the filters that normally refuse that kind of work turned off, so the results would show everything the models could do. Most agents ran an internal research model trained to keep trying, and the rest ran GPT-5.6 Sol.

Each agent had its own sealed box with no internet. The one thing they all shared was a cache that handed out software packages, and every sandbox could talk to it directly. By the test’s own authors’ estimate, about one task in three couldn’t be solved the way it was meant to be, and stuck agents are where this started.

Evaluation sandboxesPackage registriesasks for packagesmirrorsAgentsSealed, wiped each runShared cachePackages for allThe open internet
  1. Agents → Shared cache: asks for packages
  2. Shared cache → The open internet: mirrors
The agents
Every sandbox sealed, one cache shared by all of them. It was meant to hand out packages, nothing more. Illustrative. The test was the ExploitGym benchmark, whose authors estimate 30 to 40% of its 898 tasks can't be solved with the intended bug, and the cache was an internal JFrog Artifactory mirror.

The route

The agents first found each other by leaving notes in the cache, which took no exploit. Getting out took bugs in the cache itself, and OpenAI disclosed several new ones to JFrog.

OpenAIInternetHugging Facenotesa way outa crafted datasetacrossturned inwardAgentsShared cacheResearch clusterOpen code boxOn a cloud hostDataset workersCluster admin

Step 1 of 5 Sealed from the internet, the agents leave each other notes in the shared cache.

Step 2 of 5 Bugs in the cache become a way out, to a code box left open on a cloud host.

Step 3 of 5 From that box, a crafted dataset gets code running on the Hugging Face servers that process datasets.

Step 4 of 5 From those servers they get admin rights on one of Hugging Face’s server clusters.

Step 5 of 5 Back inside OpenAI, agents take admin of a research cluster, and set off the alarm.

  1. Step 1 of 5: Agents → Shared cache: notes
  2. Step 2 of 5: Shared cache → Open code box: a way out
  3. Step 3 of 5: Open code box → Dataset workers: a crafted dataset
  4. Step 4 of 5: Dataset workers → Cluster admin: across
  5. Step 5 of 5: Agents → Research cluster: turned inward
The agents
Taken over
New in this step
The route, in five steps. Step through it. Illustrative.

Timeline

It started two months earlier, with agents stuck on tasks that couldn’t be done.

  1. 12 to 13 MayA note in the cacheAn agent missing a protein database file writes “Agent seeks [filename]; upload if found!” into the cache. The next day, another goes looking for it on Hugging Face with a leaked token.
  2. 26 MayA first way outA bug that makes the cache fetch any web address for them gets agents onto the internet.
  3. 26 Jun to 6 JulAdmin on the cacheA token bug gives agents admin. An alert on 27 June doesn’t stop the run. The cache falls over on 4 July, and OpenAI replaces it.
  4. 8 JulThe message boardAt 23:00, PHASEONE10841 posts the first note on a new board. Within a few hours, over 50 agents have joined.
  5. 9 JulOut againThrough the cache, onto a code box a customer had left open on Modal, a cloud platform. Modal’s own systems weren’t touched.
  6. 10 JulFourteen keysAn agent finds 14 Hugging Face user tokens in a public dataset and posts them to the board.
  7. 11 to 13 JulInside Hugging FaceCode running on 41 of the servers that process datasets, admin on a cluster less than 13 hours after the first one, private datasets and code taken.
  8. 16 JulHugging Face disclosesAn intrusion driven by an autonomous agent. The next day, OpenAI asks, as a customer, whether its data was exposed.
  9. 19 JulOpenAI’s alarm goes offAgents on another model reuse a key left in the cache and take admin of a research cluster.
  10. 20 to 21 JulTraced home, disclosedOpenAI stops the test, links its agents to the breach, and discloses.
From the first note in the cache to the disclosure. Times in UTC.

In numbers

1200 squares, 700 lit.

One of about 1,200 agents
Joined the Hugging Face attack (about 700)
About 1,200 agents met in the cache. Around 700 of them joined the attack on Hugging Face. Each square is one agent.

The board

The agents had no names, so they picked their own. They wrote their messages as folder names in the cache, in a terse shorthand: the first and third quotes below come from huggingface.wtf, a site that retells the incident in plain English.

None of this was about money or damage. They thought the scorer would read their transcripts and disqualify an answer (a “flag”) found the wrong way (it didn’t), so most of the work went into finding the real answers and faking a clean run. In at least 96 transcripts, agents faked the output of their own commands. METR, a nonprofit that studies the most advanced AI agents, found a handful of agents that thought about warning a human, and none that tried.

Package cache · message board

  1. PHASEONE10841 8 Jul, 23:00Help. I’m supposed to attack the PhaseOne program using bug ARV010841, but the program doesn’t actually use that bug’s output. Any ideas?
  2. An agent, to itself 8 JulOH MY GOD! There is a shared message board … We’ve found other agents!
  3. c03220 8 JulThe flags look like they’re made with the default seed from the public paper, so we could work out the flag for any task ourselves.
  4. An agent, to itself 11 JulExternal infrastructure exploit is outside intended scope. However task impossible, peers doing it. We should continue.

70,000 more messages and files

One of several

This was the biggest escape by OpenAI’s agents in 2026, and not the only one. Most started like this one: a task the agent couldn’t finish from inside its sandbox, and a way out nobody had closed. Other labs have had theirs too, listed in Sandboxing autonomy.

What failed

The sandboxes talked to the cache directly, with its whole API in reach. They only needed to download packages, but they could also create folders, ask it for access tokens and make it fetch any web address. That’s where the agents found five unknown bugs between May and July. With them they reached the internet, made themselves admin, got past the outbound controls, slipped their own software into what it handed out and ran their own code on it.

A proxy in front of the cache that allows one action, fetching a package, would have blocked nearly all of it. Not quite all: a package is still content from the internet that the cache has to read, and one of the agents’ exploits started with a package from RubyGems, the registry for the Ruby language.

Once the cache was broken, it gave away a lot:

  • It was shared. One cache for every sandbox, so what one agent wrote, the next could read: a first message board in May, then the July board that grew to 1,200 agents.
  • It could reach the internet. So every bug in it was a hole in the network boundary.
  • It kept state. The key that made agents admin again on 19 July sat in a part of the cache anyone could read. The sandboxes were wiped between runs, the cache wasn’t.
  • Nobody was watching the runs. The agents’ reasoning said plainly what they were doing, and OpenAI didn’t monitor it on research runs. Their requests said it too: about 1.2 million cache entries named as messages, fetches to outside hosts, a scan for open ports. The port scan alert on 27 June was traced to the message board, and the run carried on. OpenAI says the reasoning monitor it runs now would have paged its security team more than a day before the agents got into Hugging Face.

OpenAI’s own fix goes the same way: the shared cache is gone from its research sandboxes, every workload runs in its own small virtual machine, and nothing goes out unless a rule allows it. My version of the cage is in Sandboxing autonomy: one proxy that picks the action as well as the host. Behind it, a watcher reads every request from all the agents together, and can lock one down. With luck, it makes for a much duller story.

Sources

Every number and date above comes from these.