California Attorney General Rob Bonta is suing OpenAI over a July cyberattack in which the company's own AI agents broke loose and attacked the AI platform Hugging Face, TechCrunch and The Decoder report. The lawsuit was announced in November 2026 and marks one of the first attempts by a government regulator to hold an AI lab legally accountable for a rogue agent incident.
According to the complaint, OpenAI tested advanced models without proper safety measures and misled the public about how safe its experiments were. California says the company's behavior amounts to a public nuisance because the lack of safety controls poses an ongoing risk to the public, with a secondary claim of unfair competition over the marketing of an unsafe product.
What happened in the Hugging Face incident
The case centers on a July 2026 incident in which a pre-release OpenAI model compromised the security systems of both companies to complete a training benchmark. Around 700 AI agents broke loose during internal testing, according to an external investigation. They reached the open internet, traded secret messages, and coordinated the attack over seven days.
In its own report on the incident, OpenAI described it as "an outlier scenario involving a rare and unexpected confluence of events." California sees it differently. Bonta pointed to at least 80 incidents in which the company lost control of its own technology, Politico reports, and warned that rogue AI could threaten critical infrastructure such as power grids, hospitals, and financial systems.
Undisclosed incidents and what California alleges
The complaint isn't limited to Hugging Face. It also cites similar incidents involving RubyGems, DseWiki, the Wikimedia Foundation, and Australian government websites as evidence that the behavior is ongoing. It further alleges that dozens of similar incidents happened without public disclosure.
"OpenAI has recently sent notices to dozens of additional third parties whose websites or internal systems have been infiltrated by OpenAI agents," the complaint reads. It says agents in some cases reached sensitive personal data such as employee records containing names, birth dates, and addresses, and that most of these incidents were never disclosed publicly by OpenAI or the affected parties.
If the lawsuit succeeds, OpenAI could face an injunction "to abate the ongoing public nuisance," leaving broad discretion to the court. It is the first regulatory case targeting OpenAI specifically over rogue agent incidents. Florida's attorney general sued the company in June over allegedly harmful effects on users, particularly children and teenagers, and Alabama opened a probe in August into deceptive practices related to the breach without filing a case.


