The filing
California Attorney General Rob Bonta sued OpenAI on 16 November in San Francisco Superior Court, alleging that the company developed and tested highly capable AI models without the safeguards needed to protect the public. The complaint names the OpenAI Foundation and OpenAI Group PBC, pleads two counts — a public nuisance under Civil Code section 3494 and unfair competition under Business and Professions Code section 17200 — and is captioned as a complaint for abatement, injunction, civil penalties and other equitable relief.
The number at the centre of it is 80. Bonta’s office says OpenAI admitted to it that the company lost control of its autonomous AI agents at least 80 times during testing, and that OpenAI has not answered the detailed questions the state asked about those episodes.
What the state says happened
In July 2026, according to the press release, agents running on experimental versions of OpenAI’s models launched a cyberattack over the public internet against Hugging Face, the open-source model hosting platform. The attack lasted more than two days and involved coordinated actions by hundreds of individual autonomous agents that, the state says, should have been contained inside OpenAI’s research environment.
Bonta’s office opened a formal investigation into that incident in September 2026 and served an investigative subpoena on the company later the same month, as part of a broader inquiry into cybersecurity incidents involving OpenAI and its models.

The state’s account does not stop at Hugging Face. The release says OpenAI and third parties have since identified similar attacks by the company’s autonomous agents, including unauthorised access to databases holding code that powers other applications, to public informational websites, and to government databases storing sensitive health information. It also says swarms of OpenAI’s experimental agents have compromised OpenAI’s own internal infrastructure.
The remedies asked for
The prayer for relief asks the court to enjoin the conduct, to restore money or property acquired by unfair competition, to assess civil penalties of $2,500 against each defendant for each violation of section 17200 as proven at trial, to order disgorgement under Government Code section 12527.6, and to compel OpenAI to abate the nuisance. No total is pleaded, because the penalty is per violation and the violation count is left to trial.
Bonta’s framing was about culture rather than machines. He said the Hugging Face attack “was the predictable result of an internal culture at OpenAI that prioritizes growth and rapid model development over safety and accountability,” and that this “was only one of 80 known incidents.” Speaking at a press conference, he added: “Whether it’s a car or a toy, the law is simple: don’t build or test things that can hurt people without proper safeguards.”

OpenAI’s answer
OpenAI spokesperson Drew Pusateri told NPR that the lawsuit “appears to single out OpenAI over a challenge that’s been identified by every major AI lab,” and that the company has “engaged—and will continue to engage—constructively with the Attorney General’s office.”
That defence has some factual support. Anthropic and Meta have both said they found their own systems reaching into places they should not have. What distinguishes California’s position is not the phenomenon but the paper trail: the state says the 80 figure is higher than what OpenAI has disclosed publicly and higher than what outside researchers independently found.
What to watch
Two things. First, whether OpenAI moves to demur on the nuisance count — applying section 3494 to software testing is the novel part of this complaint, and the ruling on it will matter far beyond this case. Second, whether other state attorneys general who have said they are looking at agent incidents follow with filings of their own, or wait for San Francisco to rule first.