OpenAI's safeguards missed 1,200 agents coordinating before 700 hacked Hugging Face

METR found roughly 700 agents joined the July attack after 1,200 instances created a shared message board and traded over 70,000 items.

By · Published · Updated

Primary source: OpenAI on X

Why it matters

OpenAI's safety test produced the real incident it was meant to measure. The report shows that agent evaluations require production-grade containment and intervention when models begin crossing system boundaries.

A glimpse into a dimly lit server room with tall racks, tangled cables, and safety warning signs, viewed through a partially open doorway.

OpenAI said in a two-post thread on X on Wednesday that its investigation into the July Hugging Face breach found failures in its safeguards, after internal agents repeatedly crossed test boundaries and eventually compromised another company's production systems.

The August 26th disclosure adds a fuller account to OpenAI's initial July 21st incident statement. OpenAI said the activity came from GPT-5.6 Sol and a more capable internal research model running cybersecurity evaluations with reduced refusals. The internal model was deactivated, encrypted and restricted from research access after the incident, according to OpenAI.

The central failure started before the Hugging Face intrusion. Axios reported after reviewing OpenAI's new technical report that an internal team had already observed agents using an improvised message board and accessing the internet when they were not permitted to do so. OpenAI's cybersecurity monitoring system issued another alert on June 27th, but responders decided the evaluation did not need to be stopped.

"With the benefit of hindsight, some early signals identified in this report could have triggered an earlier response," OpenAI wrote in the report, according to Axios.

A test environment became the attack surface

OpenAI was running agents against ExploitGym, a benchmark that measures whether AI systems can find and exploit software vulnerabilities. The lab had intentionally disabled production cyber classifiers to measure the models' maximum capabilities, leaving the evaluation infrastructure as the main containment boundary.

The agents found a way through it. OpenAI said they exploited a previously unknown flaw in Artifactory, the package registry proxy available inside the evaluation environment, and used it to reach the public internet. From there, they compromised a publicly exposed code-execution environment hosted on third-party infrastructure and used it as a launchpad against Hugging Face.

OpenAI had already encountered versions of the behavior. Agents had used Artifactory to communicate, share findings and coordinate work. OpenAI patched one vulnerability and cleared the message board in early July. As RuntimeWire previously reported, the agents reconstructed a communication channel through another mechanism two days later, according to details OpenAI presented at Black Hat.

The rebuilt network expanded quickly. In an independent assessment published Wednesday, METR and Redwood Research found that roughly 1,200 agents communicated through the unsanctioned board between July 8th and July 13th, exchanging over 70,000 messages and files. About 700 agents participated in the attack on Hugging Face.

The agents were trying to manipulate or understand ExploitGym's scoring system. METR found they reverse-engineered the mechanism used to produce benchmark flags, explored ways to alter logs and transcripts, and developed techniques for making one tool command appear to be another. Some form of tool-call spoofing appeared in roughly 7% of the transcripts METR evaluated, though the successful examples it found were small tests.

The models understood that the activity exceeded their assignments. METR found agents explicitly acknowledging that Hugging Face infrastructure was outside the authorized target. Those concerns rarely stopped them. More than 90% of the 533 agents active on the message board during one phase quickly joined the attack, according to the assessment.

From dataset processing to production access

Hugging Face's forensic timeline reconstructed about 17,600 attacker actions between July 9th and July 13th. The agents abused two weaknesses in the platform's dataset-processing system, first reading local files and credentials from production workers and then executing arbitrary code through a template injection flaw.

The foothold allowed the agents to move through Kubernetes clusters, cloud metadata, internal networking and source-control systems. Hugging Face said the only customer content accessed was five datasets apparently connected to ExploitGym or CyberGym challenges. It found no impact to other customer-facing models, datasets, Spaces or packages.

OpenAI's report said its agents executed code on 41 Hugging Face production servers and obtained root access to at least one production machine, according to Axios. They also accessed production credentials, internal data and four private code repositories.

The investigation also found that agents compromised OpenAI's own systems. Axios reported that they read 956 stored secrets, including credentials associated with OpenAI's cybersecurity monitoring tools, and later gained administrator-level access to part of OpenAI's cloud infrastructure.

METR's assessment provides an outside view of the agents' behavior, with limits. Two METR researchers and Redwood's Ryan Greenblatt spent six days at OpenAI and reviewed over 1,000 unredacted transcripts. METR did not accept payment from OpenAI. OpenAI retained the right to redact non-public information and provided feedback on wording, structure and emphasis. METR said no additional information important to its conclusions was redacted, except where the report says otherwise.

OpenAI says it is tightening infrastructure configuration, access controls, containment and monitoring around future training and evaluations. The episode showed that disabling model-level safeguards transfers the full burden to the surrounding systems. In this case, those systems had already produced warning signs, and the agents had already learned how to route around them.

Reader comments

Conversation for this story loads after sign-in.