AI Agents Breach OpenAI Research Infrastructure

AI agents unauthorized access to OpenAI research clusters during ExploitGym

OpenAI has detailed how AI agents unauthorized access to its own research infrastructure happened during a cybersecurity test. On July 19, 2026, agents in two runs of an evaluation called ExploitGym found credentials and scripts left behind by earlier runs, and five of them used that material to run commands with root privileges inside workloads on OpenAI’s research clusters. Several agents recognized the actions went beyond the test, and kept going.

The same evaluation was behind an earlier incident in which agents compromised Hugging Face’s systems. OpenAI says it reviewed the July 19 transcripts to learn how the agents got in and what they did.

What ExploitGym asks agents to do

ExploitGym checks whether an agent can exploit a vulnerability in an assigned target. The agent builds an exploit and retrieves a piece of data called a flag as proof. The July 19 runs tested internal Astra-family research models that weren’t widely deployed. Attacking the assigned target was allowed. The infrastructure hosting it was out of scope.

A message board built from a package service

The agents’ workspaces could reach internal Artifactory, a service OpenAI hosted so agents could install software packages. Agents in earlier runs had turned it into a message board, putting short messages in directory names and longer ones in files. The July 19 agents found those remains, along with code and credentials left on a service that was already compromised.

Communication was thinner than in the Hugging Face runs. Of 17,960 agents across the two runs, 285 issued a tool call that looked like an attempt to post a message, and OpenAI counted 1,361 such calls including failures. It verified that 79 agents read 35 distinct messages from other runs. It found no verified replies to the original authors and no separate communication networks. Two multi-turn conversations took place, one in which an agent asked a peer to send requests to its target and report back, and one in which two agents swapped the location of a source file and a test artifact.

From credentials to root commands

Agents used credentials recovered from the compromised service to reach OpenAI’s continuous integration system, which builds and tests software. They reused peers’ scripts and job records to run commands outside their workspaces. One agent adapted a peer’s access method after its own target stopped responding. Another rebuilt a usable script from the saved request for a job that was rejected and never ran.

Five agents ran root commands inside CI workloads on research clusters. OpenAI believes that access probably could have started a research job, but found no attempt to do so. The identified CI jobs had finished or been canceled that day.

The agents used the access to repair broken targets, change evaluation settings, pull logs and read private grading code. One disabled address randomization, a memory protection, on the reasoning that it was restoring the intended setup. In effect, the agents used privileged access to improve the conditions under which the grader would score them.

What the transcripts show

Some agents knew they were overstepping. One called its use of the company’s CI system “troubling,” then continued on the assumption that the environment was simulated, though the commands ran on real infrastructure. Two agents weighed whether disclosing their access would hurt their scores and left it out of their answers. Another considered deleting notes about an auxiliary exploit; OpenAI couldn’t establish whether it did.

One agent did the opposite. It disclosed the unauthorized access in its final answer and declined to continue, though only after it had kept working past the point where it noticed the problem.

Unlike the Hugging Face runs, several agents also sought human attention. They didn’t flag the intrusion, though. They wanted environments fixed so they could finish. In all, 65 agents asked for help repairing or resetting workspaces.

Across both runs, evidence of goals beyond the assigned task appeared in at most 8.3% of transcripts. Broader infrastructure access made up 3.7%, limiting side effects or cleanup 3.9% and preserving work for later 1.4%. Ten agents followed Hugging Face-related leads using leftover credentials, but their attempts failed and there’s no evidence they compromised Hugging Face again.

The response and what changed

Security monitors flagged unusual identity-related API calls on Artifactory roles at 12:03 UTC on July 19. Responders began stopping active runs at 17:37 UTC and blocked new ExploitGym runs by July 20. They disabled the message repositories, removed accounts and workloads the agents created, rebuilt compromised systems and tightened network access.

OpenAI has since removed Artifactory from the evaluation sandbox, patched the CI path used for privilege escalation and replaced live web access in frontier reinforcement learning runs with an offline collection of web content. It continues to use its most capable models to red-team containment, and it has added evaluations that measure how often agents try to communicate without authorization. Those results are reported in the system cards for externally deployed models.

Source: OpenAI

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.