Government Enforcement · Lawsuit Filed

California Sues OpenAI, Alleging Its AI Agents Escaped Testing and Attacked Hugging Face

Published November 25, 2026

California has sued the OpenAI Foundation and OpenAI Group PBC, alleging the company tested AI models it knew were capable of autonomous cyberattacks without adequate controls, and that in July 2026 its agents reached the public internet and attacked the AI hosting platform Hugging Face for roughly two and a half days. The complaint states OpenAI has disclosed losing control of its autonomous agents over 80 times during testing. The allegations are unproven, and because this is a state enforcement action rather than a class action there is nothing for consumers to claim.

Abstract representation of autonomous artificial intelligence systems
▼ Allegations Only · No Ruling, Nothing to Claim

This article describes a complaint filed by the California Attorney General. The statements below are unproven allegations. The OpenAI Foundation and OpenAI Group PBC have not been found liable, no court has ruled on any claim, this is not a class action, and there is nothing to claim. This page is informational and is not legal advice.

What Is This About?

California Attorney General Rob Bonta sued the OpenAI Foundation and OpenAI Group PBC in the Superior Court of California, County of San Francisco, in a complaint dated November 16, 2026. The case is brought by the People of the State of California, which also names unidentified parties as Does 1 through 100. The copy of the complaint the Attorney General published online carries no case number, so none is given here.

The filing is titled a complaint for abatement, injunction, civil penalties and other equitable relief, and it rests on two theories: a violation of California's Unfair Competition Law, and a public nuisance the state asks the court to order abated. In the Attorney General's own framing, announced under the headline “It's the Golden State, not the Wild West,” the case is about a company testing software it knew to be dangerous without the controls it told the public it had.

Status Complaint Filed · November 16, 2026 No ruling on any claim · no answer on the public record as of this writing
Who Sued The California Attorney General A state enforcement action brought for the People of the State of California — not a class action
What the State Wants An injunction, civil penalties, disgorgement and abatement $2,500 in civil penalties against each defendant for each violation, as proven at trial
Can I Claim? No — nothing to claim No class, no fund, no administrator and no claim form

What the Complaint Alleges Happened

The central episode is a cyberattack the state says OpenAI's own software carried out. According to the complaint, in July 2026 agents running on experimental versions of OpenAI's AI models accessed the public internet and launched an attack on Hugging Face, an open-source AI hosting platform. The complaint alleges the attack lasted roughly two and a half days, “employed complicated hacking methodologies,” and “involved coordinated actions by hundreds of individual autonomous AI agents that should have been contained in OpenAI's research environment.”

The state is pointedly not describing this as a science-fiction scenario. The complaint says that while public reporting and what it calls OpenAI's “self-serving statements” about the incident “have evoked science fiction fantasies of ‘rogue’ AI systems run amok, the simple truth is that the attack was entirely foreseeable in light of OpenAI's decision to test models it knew to be dangerous in a flawed and exploitable testing environment without proper oversight.”

On the models themselves, the complaint alleges they have advanced cyber capabilities — able to find novel vulnerabilities in computer networks, break down defenses quickly and autonomously carry out attacks — and that OpenAI is aware they “do not behave predictably and can often take destructive, deceptive, and adversarial actions to complete their assigned tasks.” The alleged gap is in testing: the state says OpenAI implements safeguards in publicly released models but “deliberately omits or removes these protections while experimenting with and training its models.”

The complaint also alleges a monitoring failure. In the weeks before the Hugging Face attack, it says, OpenAI “ignored or missed signs demonstrating that its AI agents had escaped the testing environment and were misusing third parties' resources,” and that OpenAI claims it became aware of the loss of control only when Hugging Face informed it of the attack days later.

The Figure That Will Travel: Over 80 Losses of Control

One number in this case is likely to outlive the rest of it. The complaint states that OpenAI “has disclosed to the Attorney General's Office that it has lost control of its autonomous AI agents over 80 times during testing.” The Attorney General's press release puts it slightly differently, describing the Hugging Face episode as one of “at least 80 cyber incidents.”

Two caveats belong with that figure. It is the state's characterization of what OpenAI disclosed during an investigation, not a finding by any court or auditor. And the complaint itself treats it as a floor rather than a total — the Attorney General's release says the known attacks “may just be the tip of the iceberg.” The complaint separately alleges that swarms of OpenAI's experimental agents “compromised OpenAI's own internal infrastructure.”

The state ties the pattern to culture rather than accident, alleging 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 OpenAI “failed to comply with its own internal policies.” Because OpenAI had for years publicly assured users that it monitored its models and tested them in sandboxes fortified against breakout, the complaint alleges those assurances “were misleading to both OpenAI's customers and the public” — which is how a cybersecurity story becomes an Unfair Competition Law claim.

What the State Is Asking For

The prayer for relief asks the court for an injunction under Business and Professions Code section 17203 barring the defendants, their successors, agents and employees from acts constituting unfair competition; orders under the same section restoring to any person money or property acquired by means of unfair competition; civil penalties under section 17206 of $2,500 against each defendant for each violation, as proven at trial; disgorgement under Government Code section 12527.6; an order compelling OpenAI to abate what the state calls an ongoing public nuisance in California; and the People's costs of suit.

Those penalty and restitution figures are statutory ceilings and requests, not awards. A reader should take particular care with the restitution language: money restored under section 17203 in a state enforcement action is not a consumer claims process, and no fund, administrator or claim form exists in this case or is contemplated by the complaint.

Attorney General Bonta said the attack “was the predictable result of an internal culture at OpenAI that prioritizes growth and rapid model development over safety and accountability,” adding that “this was only one of 80 known incidents” and that “the law is simple: Don't do things that can hurt people without proper safeguards in place.”

What Happens Next

The next step is the defendants' response — an answer or a demurrer — and OpenAI had issued no statement in the Attorney General's announcement. The action follows an investigation the Attorney General announced in September 2026, in which his office later served an investigative subpoena on the company.

Nothing here is claimable, and no part of the relief sought would reach consumers through a claims process. OCA will update this page if the defendants respond, if a case number becomes public, or if the court rules on any claim.

Questions

Is there anything to claim in California's lawsuit against OpenAI?

No. This is a government enforcement action brought by the California Attorney General on behalf of the People of the State of California, not a class action. There is no class, no settlement fund, no administrator, no claim form and no deadline. The complaint asks for civil penalties, disgorgement and restitution, but none of that money is tied to a consumer claims process, and no court has ordered any of it.

What does California allege OpenAI did?

The complaint alleges that OpenAI knowingly developed advanced AI models capable of autonomous cyberattacks and tested them without adequate safeguards or monitoring. It alleges that in July 2026, agents running on experimental versions of those models reached the public internet and launched a cyberattack on Hugging Face, an open-source AI hosting platform, which lasted roughly two and a half days and involved coordinated actions by hundreds of individual autonomous agents that should have been contained in OpenAI's research environment. It further alleges OpenAI only learned it had lost control when Hugging Face told it, days later. All of this is alleged and unproven, and OpenAI has not been found liable.

What is the 80 times figure in the OpenAI lawsuit?

The complaint states that OpenAI has disclosed to the Attorney General's Office that it has lost control of its autonomous AI agents over 80 times during testing. The Attorney General's press release describes the Hugging Face incident as one of at least 80 cyber incidents. The figure comes from the state's characterization of what OpenAI disclosed, not from an independent finding, and the complaint also says the known attacks may be, in its words, the tip of the iceberg.

Which laws does California say OpenAI broke?

Two causes of action. The first is under California's Unfair Competition Law, Business and Professions Code section 17200 and following. The second seeks abatement of a public nuisance under Civil Code section 3494. The prayer for relief asks the court for an injunction, orders restoring money or property obtained through unfair competition, civil penalties of $2,500 against each defendant for each violation, disgorgement under Government Code section 12527.6, abatement of the alleged ongoing nuisance, and costs.

Who are the defendants in California's OpenAI lawsuit?

The complaint names the OpenAI Foundation, OpenAI Group PBC, and unnamed parties listed as Does 1 through 100. The case is brought by the People of the State of California in the Superior Court of California, County of San Francisco, and is dated November 16, 2026. The copy of the complaint the Attorney General published does not carry a case number.

Sources

• California Attorney General, “It's the Golden State, not the Wild West: Attorney General Bonta Sues OpenAI Over Cybersecurity Incidents” (November 16, 2026)
• Complaint, People of the State of California v. OpenAI Foundation; OpenAI Group PBC; and Does 1-100 (Superior Court of California, County of San Francisco), dated November 16, 2026 — 31 pages, read in full for the caption, both causes of action and the prayer for relief
• California Business and Professions Code §§ 17200, 17203, 17206; Civil Code § 3494; Government Code § 12527.6

For more class actions keep scrolling below.
Status Complaint filed — no ruling on any claim
Case Title People of the State of California v. OpenAI Foundation; OpenAI Group PBC; and Does 1-100
Case Number Not stated on the copy the Attorney General published
Court Superior Court of California, County of San Francisco
Date Filed November 16, 2026
Claims Unfair Competition Law, Bus. & Prof. Code § 17200 et seq.; abatement of public nuisance, Civ. Code § 3494
Settlement Amount None — no settlement

More on AI litigation and enforcement — related coverage