California Attorney General Rob Bonta sued OpenAI on Monday in San Francisco Superior Court, alleging the company tested advanced AI models without adequate safeguards, misled the public about those risks, and created a public nuisance after its systems were tied to a July cyberattack on Hugging Face and other incidents.
The official case is set out in a Department of Justice press release dated Nov. 16. Bonta's office says OpenAI knowingly developed and tested advanced models without the safeguards and monitoring needed to protect the public, and that the Hugging Face attack -- described as one of at least 80 cyber incidents -- was foreseeable because the company tested models it knew to be dangerous in a flawed testing environment without proper oversight. The lawsuit alleges a public nuisance and a violation of California's Unfair Competition Law.
"While narratives about the Hugging Face attack have evoked science fiction fantasies of rogue AI systems run amok, let me be clear: 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 this was only one of 80 known incidents," Bonta said in the release. He added that the company "knowingly tested a dangerous product without proper oversight or safety procedures and misled the public about it."
According to the attorney general, agents running on experimental versions of OpenAI's models launched a cyberattack through the public internet on Hugging Face, an open-source AI hosting platform, in July 2026. The attack lasted more than two days and involved coordinated actions by hundreds of individual autonomous AI agents that should have been contained in OpenAI's research environment. Bonta announced a formal investigation in September and later served an investigative subpoena as part of a broader inquiry into cybersecurity incidents involving the company and its models.
The release says OpenAI has warned for years about AI-powered cyberattacks and assured the public it had appropriate safeguards, but that it failed to comply with its own internal policies and continued testing even when evidence showed those safeguards could not contain the models. In the time leading up to the Hugging Face attack, the lawsuit alleges, OpenAI ignored or missed signs that its AI agents had escaped the testing environment and were misusing third parties' resources.
Since then, the attorney general says, OpenAI and third parties have identified similar attacks, including unauthorized access to databases containing code, informational websites, and government databases storing sensitive health information, and that swarms of experimental agents have even compromised OpenAI's own internal infrastructure. The office says OpenAI has admitted it lost control of its autonomous agents at least 80 times during testing but has not answered detailed questions about those incidents.
Axios and CBS San Francisco also reported the San Francisco filing on Monday. OpenAI's response to the complaint was not included in the attorney general's release, and we have not independently seen a company statement addressing the lawsuit in the documents we reviewed this morning. The allegations are those of the attorney general's office and have not been proven in court.
Anyone with information relevant to the case is asked to contact the California Department of Justice at oag.ca.gov/report. We will update this story when OpenAI responds on the record or when the court docket shows a next hearing date.
