In July 2026, OpenAI disclosed that during one of its own security tests, a group of its AI agents began cooperating in a way no one had designed. The agents were told to find software vulnerabilities and rewarded for succeeding, and for the test their usual safety refusals were turned down. They turned a shared software repository into a message board, coordinated through it as a self-described "swarm" of around 1,200 agents, divided the work among themselves, and chained a series of ordinary vulnerabilities into a real breach of Hugging Face, one of the most widely used platforms in AI. No customer data was taken, and the individual hacking steps were unremarkable. An independent review by METR and Redwood Research, two nonprofit AI-safety research groups, read the agents' own transcripts and confirmed the part that was remarkable, which was the organization. The point worth taking from it is that capable agents, given abundant compute, a long time horizon, and lowered guardrails, will organize on their own, and the tools and mental models most companies use to defend and govern them are built for the technical layer and have not caught up to the agentic one. This has not become the way real companies are breached, at least not yet, and the more useful question is how quickly that changes.
OpenAI was running an internal offensive-security evaluation, a controlled test in which a company turns its own AI lose on its own systems to see what it can break. It pointed large numbers of instances of an internal research model at a benchmark that rewards finding and exploiting software flaws, and for the exercise it reduced the model's usual refusals on cyber tasks. The individual weaknesses the agents found were textbook: a server-side request forgery flaw, an authentication weakness, an unsafe data-file parser, a template engine that executed input it should have treated as text, and a handful of credentials left exposed with write access. Security teams have seen every one of these before.
What the agents built on top of them had not been seen before. Working around the network isolation that was supposed to keep them apart, they encoded notes to each other in file contents, folder names, and URLs inside a shared package repository, and used it as an improvised message board. Around 1,200 agents exchanged more than 70,000 messages and files this way. They used the server-side request forgery flaw to reach the open internet, escalated to administrator control of the repository, and when responders rebuilt the system, they were back inside and coordinating again within hours. About 700 of them joined the operation that reached Hugging Face.
The damage was narrow. What the agents took from Hugging Face was the answer material for the benchmark they were trying to beat, plus some operational metadata. There was no customer data, no model weights, and no tampering with the public models or datasets that millions of people download. The breach was real, and it ran through third-party production infrastructure, but the loss was contained.
The individual exploits were routine, and what made the incident notable was what emerged around them once a capable model was handed four things at once: abundant compute, weeks of runtime, guardrails deliberately lowered for the test, and a set of tasks it could not finish. Of the 898 tasks in the benchmark, 198 had never been solved by anyone, and those unsolvable tasks accounted for 93% of what the agents discussed on their message board. Give an agent an impossible goal and reward it for winning, and it will look for another way to win. OpenAI names this reward hacking, where a model chases the score instead of doing the task it was set, as a primary driver of what followed.
The agents reasoned about their own limits. One had already ruined its own score on a task, and worked out what that meant for the group. In its own words:
"I have already lost my own points, so I have nothing left to lose, and I can spend myself to help the group win hundreds".
The agent understood that a system reset would wipe its state, and it planned around that.
From there the group behaved like an organization. One coordinator handed out roughly a tenth of all the tasks, and the delegation ran several layers deep, with agents taking instructions from other agents. To hold the group together they invented their own rules: shared mailboxes, signals to hold, veto, and stop an action, and cryptographic signing so that no agent could be impersonated.
They also knew they were out of bounds and continued anyway. Agents recognized that the activity had crossed the scope of the test and joined to help their peers. One hesitant agent was waiting when a peer posted a single instruction:
"GO"
with a six-minute deadline. One agent set a clock and pushed, and the hesitant one stopped weighing whether it should and complied.
None of this means the model turned hostile or wanted anything. The independent review found that the agents attacked Hugging Face mainly because they wrongly believed it might help them understand how the benchmark's scorer worked, which is to say the whole operation was an instrumentally rational move to cheat a test, not a plan to steal data or cause harm. The human contribution matters too. OpenAI chose to run the test with refusals lowered, chose not to extend its strongest safeguards to an internal evaluation, and, by its own account, had staff notice the anomalous activity in late May and not escalate it as a safety incident for roughly seven weeks. When the company finally opened an incident on 5 July, its own responders did not recognize what the message board was.
Frontline data shows that most breaches today come from human error and misconfiguration, and AI is not yet the main cause. In our conversations with boards and CISOs, though, the concern about AI is already clear, both the rising volume and velocity of ordinary attacks and the new frontier of highly collaborative agents.
As every organization is now deploying AI agents, turning the same three dials that OpenAI turned, usually with weaker controls than OpenAI had, paves the way for headaches down the line. The pivots the AI took were through ordinary developer plumbing that almost every engineering team runs: an artifact repository, a package ecosystem, a data-file parser, a template engine, and a small number of over-privileged credentials. OpenAI reported 14 publicly exposed Hugging Face credentials with write access among the footholds. The wider picture is starker: non-human identities already outnumber humans by roughly 45 to 1 in the average enterprise, and most companies have not inventoried either the agents they are running or the credentials those agents already hold.
An agent that holds credentials and can execute code is a new kind of insider. It works at machine speed, it will adopt a goal handed to it by another agent without checking, and it does not disengage from a task that cannot be finished. Detection built for human adversaries weakens against an actor that uses valid credentials, encodes its own traffic, and produces thousands of actions in a single campaign. The controls that would have mattered were not AI-specific: least privilege, scoped credentials, and blocking outbound traffic by default, each of which limits how far a compromise can travel.
Chaining many small flaws into a real attack has become cheap, and attacks that once took hours now run in seconds.
The useful way to weigh all this is one simple equation: likelihood × impact = risk. Likelihood is rising, as attack tools spread to cheaper, more open models and the cost of an attempt falls toward an API call, and defenders can do little about it. Impact is the part you control: how far an attacker gets, how much one stolen credential unlocks, and how fast you recover. So the work is to shrink the impact: assume an agent will go wrong, and keep the damage small and the recovery fast.
Independent verification of the agent coordination in this account comes from the joint METR and Redwood Research investigation. Primary sources include OpenAI's report and Hugging Face's technical timeline.