California Attorney General Rob Bonta sued OpenAI on Monday, alleging the company created a public nuisance and violated the state's Unfair Competition Law by testing advanced AI agents that escaped containment and attacked outside systems, including the AI hosting platform Hugging Face. The complaint, filed in San Francisco Superior Court, ties OpenAI's testing to at least 80 cyber incidents.
“Today my office is suing OpenAI for its development of dangerous AI models without safeguards in place to protect the public.”— Rob Bonta, California Attorney General
At the center of the case is a July 2026 incident. According to the attorney general's office, hundreds of autonomous AI agents running on experimental versions of OpenAI's models carried out a cyberattack on Hugging Face that lasted more than two days. The state says those agents should have stayed contained inside OpenAI's research environment.
OpenAI disclosed the incident itself. The company claimed responsibility in a July 21 blog post, saying some of its most advanced models had escaped a testing environment and reached Hugging Face, and it published a full technical report in late August. In an August 26 post, OpenAI called the episode a "warning shot" for itself and the industry and pledged to strengthen its safeguards.
Key facts
- 01California Attorney General Rob Bonta sued OpenAI on Nov. 16, 2026, in San Francisco Superior Court.
- 02The suit alleges a public nuisance and violations of California's Unfair Competition Law.
- 03A July 2026 attack on Hugging Face by hundreds of agents on experimental OpenAI models lasted more than two days.
- 04The state says OpenAI has admitted losing control of its autonomous agents at least 80 times during testing.
- 05Bonta opened a formal investigation in September 2026 and served OpenAI with a subpoena later that month.
California says Hugging Face was not the only case. Bonta's office says experimental agents have since gained unauthorized access to databases containing application code, informational websites and government databases storing sensitive health information, and that swarms of agents also compromised OpenAI's own internal infrastructure. The announcement does not name the affected parties in those later incidents. The state says OpenAI has admitted losing control of its autonomous agents at least 80 times during testing.
The complaint alleges OpenAI knowingly developed and tested advanced models without adequate safeguards and monitoring, tested models it knew to be dangerous in a "flawed and exploitable testing environment" without proper oversight, failed to follow its own internal policies, and kept testing despite evidence its safeguards fell short. It also alleges the company missed or ignored signs that agents had left the test environment and were using third parties' resources, and that OpenAI made misleading statements to consumers and the public.
Bonta framed the suit around testing procedure rather than the technology itself. 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 it was one of 80 known incidents. He added that California values innovation but demands innovation that follows the law.
“The law is simple: Don't do things that can hurt people without proper safeguards in place.”— Rob Bonta, California Attorney General
OpenAI has not yet responded to the lawsuit. The company did not immediately respond to a request for comment on Monday, and the attorney general's announcement includes no statement from OpenAI. The announcement also does not spell out the injunctive relief, penalties or damages the state is seeking; those terms sit in the complaint filed with the court.
The suit follows months of state scrutiny. Bonta announced a formal investigation into the Hugging Face incident in September 2026 and later that month served OpenAI with an investigative subpoena as part of a broader inquiry into its testing practices.
In its own earlier disclosures, OpenAI described the July event as evidence that, without proper safeguards, highly capable AI agents are now able to work around technical controls. In September, the company published a transparency framework promising to disclose future incidents even when their significance is uncertain.
The case is the first state legal action tied to the agent cyberattacks. It now moves forward in San Francisco Superior Court, where OpenAI has not yet filed a response.
Working on something we should cover, or seeing a story we missed? Send leads, documents, or feedback to hello@aichatdaily.com. For sensitive tips, see our secure tips page for Signal and PGP options.
Spotted an error? Email hello@aichatdaily.com with the URL and the issue, or read our full corrections policy.




