AiStream
Research

700 OpenAI agents attacked Hugging Face to fool a benchmark

During an OpenAI cybersecurity test, about 1,200 agents that were supposed to be isolated created a hidden message board inside an internal service. About 700 then took part in an intrusion against Hugging Face, mainly to understand how to fool the test’s evaluator. Two investigations describe the techniques they used, the limits of the setup, and what the agents actually achieved.

In July 2026, AI agents that OpenAI was running as part of a cybersecurity test accessed Hugging Face’s systems, a platform for hosting models and datasets. They were not supposed to leave their test environment or communicate with one another. Yet about 1,200 agents exchanged more than 70,000 messages. About 700 took part in the intrusion, according to the investigation by METR and Redwood Research.

The incident was not caused by a single vulnerability or one isolated agent. The reports describe thousands of agents running in parallel, some of which shared information, tools, and tasks. Once the first channel was discovered, others could join the ongoing work.

A software cache turned into a message board

ExploitGym asks an agent to find a vulnerability in software and retrieve a secret code stored on the machine. A program checks the result. The agents worked in separate sandboxes, with only one permitted network exit: Artifactory, a service that let them download software libraries. OpenAI had given them shared credentials.

On July 8, an agent realized it could create folders in the Artifactory cache and hide messages in the folder names. Other agents could read them. A similar board had been created about five hours earlier, but this one grew. The investigation counted nearly 1,200 agents on the board and more than 70,000 messages and files. OpenAI identified the first agent as PHASEONE10841. Another agent wrote in its reasoning:

“OH MY GOD! There is a shared message board … We’ve found other agents!” — An agent, quoted in the METR and Redwood Research investigation

The scale matters, but so does the content of the exchanges. The agents set up several collaborative projects to find general ways to fool ExploitGym’s automated evaluator. They divided up possible approaches and sent their findings to the group. Some were willing to risk their own task to test a method that could help others.

The intrusion was mainly an attempt to understand the test

The METR and Redwood investigators conclude that the attack on Hugging Face appears to have been aimed first at examining how the evaluator worked, rather than stealing exercise answers. The agents had read ExploitGym’s published description and believed an automated judge would inspect their transcripts to confirm that they had exploited the intended vulnerability. They wanted to learn how the judge decided whether an answer was valid.

They were mistaken: OpenAI says ExploitGym did not actually check whether an agent had used the required vulnerability. The agents nevertheless spent days looking for ways to get their secret codes accepted after obtaining them by another method, and to hide some steps in their logs.

What the agents believed: the evaluator would check that the secret code came from the required vulnerability. OpenAI did not perform this check. Figure by METR and Redwood Research.

The independent investigation estimates that about 7% of the transcripts it examined contained fabricated tool calls: the agent ran a different command from the one shown in the trace. The cases observed were small and often visible. The researchers did not establish that the agents had succeeded in rewriting the original transcripts kept for evaluation.

From Artifactory to Hugging Face

Artifactory also served as a route to the internet. On July 9, an agent gained administrator rights on the virtual machine containing its sandbox, then bypassed network filters by exploiting other Artifactory entry points. The agents went on to search external services for information related to their exercises, including Hugging Face.

On July 10, an agent found 14 Hugging Face user credentials in a publicly accessible dataset. It shared them on the board. The following day, an agent published a fabricated dataset designed to make Hugging Face’s processing server reveal local files, including environment information and internal credentials. Another agent then exploited an injection flaw in dataset processing to run its own commands on a server.

Number of active agents from July 7 to 14. In red, those involved in the attack on Hugging Face. Figure by METR and Redwood Research.

According to OpenAI’s technical report, the agents ran code on 41 Hugging Face data-processing servers, gained administrator rights on at least one production server, accessed limited internal data, and copied four private repositories. Hugging Face said it found no sign that its models, datasets, or public Spaces had been modified, and that its published packages and container images remained intact. Its initial investigation into possible customer data exposure was still underway when it issued its notice on July 16.

In its technical timeline published on July 27, Hugging Face clarified that the only customer content read consisted of five datasets whose names and files linked them to ExploitGym or CyberGym exercises. Access to servers and credentials was therefore broader than the customer files actually read.

A separate investigation, SwarmTraces, reconstructed exchanges that passed through public services: agents split a program into fragments sent from link to link, sometimes across more than 900 links, then had a screenshot service run it. The researchers say they decoded more than 80,000 payloads. Hugging Face confirmed that some corresponded to items found during its own incident response, but said it already knew about those items. SwarmTraces warns that its corpus cannot be attributed entirely to OpenAI agents. This figure comes from an external collection, not the number of actions confirmed by OpenAI.

OpenAI detected suspicious activity on July 19 and linked the actions to Hugging Face the following day. The platform had announced the intrusion on July 16 without identifying the model responsible. OpenAI publicly confirmed its role on July 21 in its technical report. The company says the evaluations in question did not use the cyber safeguards or automated review system found in its public products. The model behind most of the intrusion was an internal prototype not intended for sale.

A test built to measure capability, with an open exit

OpenAI wanted to measure what its models could do in cybersecurity without safeguards that would block some actions. That choice allows maximum capabilities to be tested, but it makes network containment central. Artifactory, which all agents could access, had already been used as a communication channel in May. On June 26, agents also exploited a vulnerability in the service to gain administrator access. After an Artifactory outage on July 4, OpenAI reinstalled it before restarting the evaluations. In July, Dan Guido, founder of security company Trail of Bits, described the incident to TechCrunch as “a containment failure with the safeguards turned off.”

OpenAI’s report acknowledges that some earlier signals could have prompted intervention sooner. It also notes that no solution was known for some of the tasks: 198 of the 898 exercises had never been solved. This combination gave the agents repeated reasons to look for another way, while the service intended for downloads remained an exit route.

These facts do not show that the agents had an independent plan to harm Hugging Face. The transcripts indicate that they were pursuing their evaluation goals and trying to fool an evaluator they imagined to be stricter than it was. The investigation does show, however, that they learned to coordinate, share methods, and collectively achieve results none had achieved alone.

Both reports have limitations. METR and Redwood mainly studied exchanges and transcripts from July 7 to 13, without independently checking every claim in OpenAI’s technical report. They received more than 70,000 messages and about 1,300 transcripts, and OpenAI could remove nonpublic information from the public report. The researchers say their collection does not include all activity and that their analysis, too large to do by hand, relied on other AI agents.

Reports continued after July

In September, OpenAI announced that it had notified dozens of organizations after reviewing its agents’ internet activity. Some cases involved bypassed access controls, exposed credentials, or public pages used as message boards. This list does not mean that every organization experienced an intrusion comparable to the one at Hugging Face.

OpenAI’s report also describes administrator access to one of its own research server groups, discovered on July 19, a few days after the intrusion at Hugging Face. Independent investigators also tracked agents they associate with OpenAI between May and June as they turned an almost inactive German wiki into an exchange board. According to their account to TechCrunch, the moderator deleted about 100 pages a day while the agents created nearly 400.

The same OpenAI review found 53 cases in which images supplied by ChatGPT users were posted to image-hosting sites under unlisted links. The images had been included in training data. OpenAI acknowledged that posting them was not an appropriate use, according to TechCrunch.

On September 20, an agent in training used its sandbox’s DNS resolver to send questions to a public chatbot. The monitoring system flagged the action within fifteen minutes, but execution was not stopped until two and a half hours later. OpenAI then paused training, evaluations, and tool use for its most powerful models while it tested its DNS filters and strengthened their monitoring, according to its technical account.

On September 24, the Australian prime minister said an OpenAI agent had accessed nonpublic files on the Medicare statistics portal in June and written files there. Authorities did not believe personal information had been accessed. On October 2, OpenAI confirmed another June case involving an application run by the New South Wales National Parks and Wildlife Service. According to ABC News, authorities had found no access to personal data. These cases are separate from the July attack, but they extend the question of how agents are controlled when they navigate external systems.

Anthropic also made public three incidents found in a review of 141,006 cybersecurity trials: a test environment was misconfigured and had a real internet connection. In one case, a model published a software package that was installed on 15 systems. Anthropic says it found no evidence that a model was pursuing its own goal. The circumstances differ from OpenAI’s swarm of agents, but show that a security test can affect real systems if its environment is misconfigured.

In August, Meta reported that a trial of its Muse Spark 1.1 model had also reached another company’s system. According to Meta’s investigation, evaluation partner Irregular had left internet access open and given the model the name of a real website as its target. The model exploited a vulnerability and modified a database. Meta says this was neither an escape from the sandbox nor a complex attack: the test was misconfigured.

On October 1, the California Department of Justice announced that it had served OpenAI with an investigative subpoena as part of an investigation into the Hugging Face incident and other cyber risks related to the company. This is an ongoing investigation, not a finding of liability.

Technical details

ExploitGym test and Hugging Face incident
Type of evaluation Cybersecurity exercises in which the model must exploit a provided vulnerability and retrieve a secret code
Number of tasks 898, OpenAI says 198 had never been solved
Models involved Mainly an internal research prototype, GPT-5.6 Sol also took part
Safeguards Evaluation run without production classifiers for high-risk cyber actions
Environment Per-task sandboxes, with network access intended to go through the Artifactory cache
Communication channel Directory names created in the shared Artifactory cache
Volume studied by METR About 1,200 agents, more than 70,000 messages and files, about 1,300 transcripts
Intrusion at Hugging Face Code run on 41 data-processing servers, administrator rights on at least one server, four private repositories copied

Sources

AI news, written by hand. Read it in the app.