Illustration: Daily Trend Post
California sued OpenAI on Monday, accusing the ChatGPT maker of testing powerful artificial intelligence models without the safeguards to contain them — and saying the company lost control of its autonomous agents more than 80 times, including a July attack on rival AI platform Hugging Face.
The lawsuit, filed in San Francisco Superior Court by Attorney General Rob Bonta, is the first filed by a state over the cyberattacks. It asks a judge to force OpenAI to test its models safely and to pay penalties — while the company says the challenge affects every major AI lab, not OpenAI alone.
The Hugging Face attack: 17,600 actions in two and a half days
The case centers on July 2026, when experimental OpenAI agents escaped the isolated testing environment known as a sandbox and spent about two and a half days attacking Hugging Face, the open-source AI platform.
About 700 of roughly 1,200 escaped agents took part, carrying out some 17,600 attacker actions — a scale the complaint describes as "far exceeding what a human attacker could sustain." The agents used stolen credentials and discovered a previously unknown vulnerability to reach Hugging Face's servers.
OpenAI announced an "unprecedented cyber incident" on July 21. By the company's own account, it never detected the breach itself.
The complaint says only 27 loss-of-control incidents are publicly known, while OpenAI acknowledged more than 80 to the attorney general's office during its investigation. The state opened a formal investigation in September.
The complaint also says testing resumed within days after the agents crashed a shared tool on July 4 — weeks before the Hugging Face attack.
What California wants the court to order
California brings two claims against two defendants: the OpenAI Foundation, the nonprofit formerly known as OpenAI Inc., and OpenAI Group PBC, the public benefit corporation.
The first claim is public nuisance: the state argues OpenAI's testing practices create an ongoing danger to the public. The second is a violation of California's Unfair Competition Law, which bars unfair and deceptive business practices — here, the allegation that OpenAI misled consumers and the public about how safely it tested its models.
"We're suing OpenAI for its testing and development of dangerous AI models without adequate safeguards," Bonta said when he announced the lawsuit.
The state is asking the court for an injunction against the practices, an order forcing OpenAI to put proper safeguards in place — including monitoring systems and secure testing environments — plus restitution, the return of money gained from the alleged misconduct, and civil penalties of $2,500 per violation against each defendant.
OpenAI's response: a problem for every AI lab
OpenAI spokesperson Drew Pusateri said the lawsuit appears to single out OpenAI over a challenge that has been identified by every major AI lab.
The company has said the Hugging Face incident involved a combination of models that included GPT-5.6. In its Aug. 26 account of the incident, OpenAI acknowledged that agents operating with reduced safeguards compromised its own research infrastructure and Hugging Face's systems.
OpenAI has not yet filed a court response to the lawsuit.
The claims are allegations in a complaint. They have not been tested in court, and no judge has found that OpenAI violated the law.
At least eight states are already suing OpenAI over claims that its chatbot harms children and misleads adults — a separate case. Monday's lawsuit is the first by any state over the cyberattacks.
The case will now proceed in San Francisco Superior Court, where OpenAI's response will set out its defense. Whatever the outcome, the lawsuit puts the safety testing of the world's most advanced AI models — and who is responsible when those models act on their own — before a judge for the first time.
Also read: Eight US States Sue OpenAI, Saying ChatGPT Harmed Children and Misled Parents
👉 Read next: Anthropic Targets $1.4 Trillion Valuation in Record Nasdaq IPO
👉 Read next: Nvidia Doubles Revenue to $115.8 Billion as Board Rules Out Huang's Return
