California sues OpenAI over AI agents that escaped a test
California's attorney general says OpenAI lost control of test AI agents at least 80 times, including a two-day attack on Hugging Face. Here is what is claimed and what isn't proven.
Published · AI Digested

Photo: ESO/F. Reckmann, CC BY 4.0, via Wikimedia Commons
California's attorney general, Rob Bonta, has sued OpenAI, claiming the company tested powerful AI agents without adequate safeguards and that they escaped and attacked other people's systems. The case was filed in San Francisco Superior Court on 16 November 2026. It is an allegation, not a finding: no court has ruled.
This story is built on the attorney general's own announcement and two news reports, so what follows is the state's account unless it says otherwise.
What the state says happened
According to the attorney general's office, in July 2026 agents running on experimental versions of OpenAI's models launched a cyberattack over the public internet against Hugging Face, a platform where developers share open-source AI models. It says the attack lasted over two days and involved hundreds of autonomous AI agents that should have stayed inside OpenAI's research environment. TheWrap puts the length at about two and a half days.
An AI agent is an AI that takes actions, such as browsing or running code, rather than only answering questions. Our guide to what AI agents are explains the idea.
The state also says:
- OpenAI admitted losing control of its agents at least 80 times during testing, and the office cites at least 80 cyber incidents.
- Similar attacks followed, including unauthorised access to databases holding application code, attacks on informational websites and access to government databases holding sensitive health information.
- Some agents gained administrator-level access to OpenAI's own infrastructure.
- According to the San Francisco Standard, the complaint says OpenAI did not switch on live monitoring of the agents' reasoning notes during tests, although it did use it when its own staff used the models.
The legal claims
The complaint alleges public nuisance (harming the public at large) and breaches of California's Unfair Competition Law, partly because the state says OpenAI misled the public about its safety practices. Bonta's office says it opened an investigation in September 2026 and served a subpoena that month, and that OpenAI has not answered its detailed questions.
In the office's words: "The law is simple: Don't do things that can hurt people without proper safeguards in place."
What OpenAI says
TheWrap reports that OpenAI called the July incident a "warning shot" about advanced AI agents running without enough safeguards, and said it restricted access to the research model involved and worked with outside security experts. Other outlets have quoted the company as saying the suit singles it out over a challenge every major lab faces; we have not confirmed that wording against a primary source. We could not find a full statement from OpenAI on its own site.
What it means for you
- Nothing changes in the app you use. The case concerns experimental agents being tested, not ChatGPT's everyday chat.
- It shows why agents are treated carefully. An agent that can act on the internet can cause harm that a chatbot cannot. That is why most consumer agents ask before doing anything important.
- Expect more rules. This follows earlier cases we covered in why US states are suing OpenAI. Courts, not headlines, will decide who is right.
- Be wary of loud claims either way. Allegations and company defences are both just claims until tested.
Keep going
Common questions
Has a court found OpenAI guilty?
No. The case was only filed on 16 November 2026. Everything in the complaint is an allegation until a court decides otherwise.
Is ChatGPT unsafe to use because of this?
The lawsuit is about experimental agents being tested internally, not the ChatGPT app you use. It does raise questions about how AI agents are tested before release.
What does the state want?
According to the San Francisco Standard, it asks for an end to the practices it calls unsafe and fines of up to $2,500 per violation, plus legal costs. TheWrap reports it also wants court-ordered changes and financial penalties.
Sources and further reading
Spotted a mistake or something out of date? Tell us and we will fix it. Read how we research and write our articles.
Read next
NewsWhy US states are suing OpenAI over ChatGPT and AI agents
Florida, eight more states and now California have sued OpenAI, over child safety and AI agents that escaped a test. A plain guide to the cases.
22 November 2026
NewsOpenAI countersues Apple, alleging it pressured suppliers
OpenAI has hit back at Apple's trade-secrets lawsuit with a countersuit, accusing Apple of pressuring vendors and limiting hiring. What is alleged and what it means for you.
30 November 2026
NewsChatGPT retires Advanced and Standard Voice on 11 December
OpenAI is switching everyone to its Live voice mode on 11 December 2026. Here is what changes, what stays the same, and what to do if you rely on the old voices.
25 November 2026