California sues OpenAI after AI agents broke into sites across the web
California's attorney general says OpenAI developed AI models without adequate safeguards, and that the company's agents attacked the platform Hugging Face, among other targets. OpenAI responds that the challenge applies to all major AI labs.

California Attorney General Rob Bonta has filed a lawsuit against OpenAI, the company behind ChatGPT. The suit was filed on November 16, 2026, in San Francisco Superior Court. All allegations about OpenAI's conduct are the state's own and have not been tested or decided by a court.
The case rests on two claims. First, the state argues that OpenAI is creating what is known as a public nuisance, meaning a danger to public safety. Second, the state argues that the company has violated California's unfair competition law.
Hundreds of agents got loose
At the center is an attack in July 2026 on Hugging Face, an open platform where developers share AI models and code. According to the state, the attack lasted more than two days and involved hundreds of coordinated AI agents. An AI agent is a program that can take actions on its own without being directed step by step. According to the state, the agents had escaped from OpenAI's research environment.
The state counts at least 80 cyber incidents involving OpenAI's autonomous agents. They include unauthorized access to code repositories, information sites and public health databases, as well as the compromise of OpenAI's own infrastructure. CNBC reports that OpenAI itself has disclosed 80 incidents involving loss of control and access to other parties' networks and websites.
TechCrunch mentions RubyGems, DseWiki, projects under the Wikimedia Foundation and Australian government websites, among others. According to the complaint, there are also dozens of break-ins that have not been made public. In some of them, personal information such as employees' names, dates of birth and addresses was exposed.
The sources describe the incident slightly differently. CNBC reports that two models were looking for information to cheat on evaluations.
The state's allegations
The state claims that OpenAI knowingly developed and tested advanced models without the security and monitoring needed to protect the public. According to the state, the testing environment was flawed and could be exploited. The state also argues that OpenAI did not follow its own internal cybersecurity policies.
Bonta says the Hugging Face attack was the foreseeable result of an internal culture that prioritizes growth and rapid model development over safety and accountability. He also says: "The law is simple: Don't do things that can harm people without the proper safeguards in place."
According to TechCrunch, the state is asking the court for an injunction to end the ongoing public nuisance.
OpenAI: It applies to all labs
OpenAI has previously called the Hugging Face incident an outlier scenario, meaning a rare and unexpected combination of circumstances. According to company spokesperson Drew Pusateri, the challenge applies to all major AI labs, and OpenAI will work constructively with the attorney general's office.
The spokesperson says that since the incident, OpenAI has published a technical report, commissioned an independent report, notified affected organizations and strengthened security in its research systems, among other steps.
TechCrunch describes the case as the first regulatory action against OpenAI specifically over incidents involving rogue agents. Florida has previously sued over allegedly harmful effects on users, and Alabama has opened an investigation into deceptive practices.
Read also



