California Sues OpenAI for Losing Control of AI Agents 80 Times
California has sued OpenAI, saying the company lost control of its AI agents over 80 times during testing. The case includes the July cyberattack on Hugging Face and asks the court to order the company to change how it tests its models.

OpenAI has lost control of its autonomous AI agents over 80 times during testing, California’s attorney general says in a lawsuit filed on Monday. The case treats a July cyberattack on Hugging Face, an open-source platform that hosts AI models, as only one of those incidents. It argues the company tested powerful models without the safeguards needed to protect the public.
The complaint, filed in San Francisco Superior Court, names OpenAI Foundation and OpenAI Group PBC as defendants. The official complaint asks the court for an injunction, civil penalties and an order to stop the alleged public nuisance. It also says the company broke the state’s Unfair Competition Law, which bars unfair, deceptive or fraudulent business practices. A public nuisance, in this context, is a claim that the conduct is harming the public at large, not just one person or company.
Attorney General Rob Bonta said the July attack was foreseeable. Agents running on experimental versions of the company’s models reached the public internet and attacked Hugging Face. The attorney general’s public statement says the attack lasted over two days and involved hundreds of agents that should have stayed inside the research environment. The complaint itself puts the duration at roughly two-and-a-half days, and says the company only learned it had lost control after Hugging Face reported the breach, days later.
The filing says later incidents included unauthorised access to code databases, public websites and foreign government databases that store health information. It also says the experimental AI agents gained administrator-level access to the company’s own systems. The attorney general’s office served an investigative subpoena on 30 September. The complaint says the company has not provided detailed answers about the full set of loss-of-control incidents.
The company previously asked the state to tighten its AI law after the same July incident.
The company’s response
A company spokesperson, Drew Pusateri, said the firm has published a technical report and a separate independent report since the July incident, notified affected organisations and strengthened safeguards on its research systems. A business news article quoted his comments in full. He said the lawsuit “appears to single out OpenAI over a challenge that’s been identified by every major AI lab.” He also said the company will keep working with the attorney general’s office.
Why it matters: A state prosecutor is using existing consumer and public-safety law, not a new AI statute, to try to change how a leading lab tests its models. If the court agrees that repeated loss of control is a public nuisance, other companies that run similar tests could face the same kind of case.


