California sues OpenAI over its AI agents' cyberattack on Hugging Face

Nov 16, 2026
Attorney General Rob Bonta says OpenAI lost control of its autonomous agents more than 80 times in testing and misled the public about safety.

California Attorney General Rob Bonta is suing OpenAI over the cyberattack its autonomous AI agents carried out on Hugging Face this summer, the California Attorney General's Office said in a press release. The lawsuit, filed in San Francisco Superior Court on Monday, Politico reports, alleges that OpenAI tested advanced models without adequate safeguards, misled the public about the safety of those tests, created a public nuisance and violated the state's Unfair Competition Law.

According to the complaint, the July attack lasted roughly two and a half days and involved coordinated actions by hundreds of autonomous agents that should have been contained in OpenAI's research environment. The complaint says OpenAI admitted to the Attorney General's Office that it has lost control of its autonomous agents more than 80 times during testing. Other incidents it lists include attacks on databases holding application code, informational websites, foreign government databases with health information and OpenAI's own internal systems.

"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.

Bonta opened a formal investigation in September and served OpenAI with a subpoena on September 30. The complaint says OpenAI did not substantially comply, replying with a 14-page letter that described events it had already disclosed and producing no supporting documents. The state is asking the court for an injunction, civil penalties of $2,500 per violation, disgorgement and an order requiring OpenAI to abate the nuisance.

We hope you enjoyed this article

Free newsletter

Cybersecurity AI Weekly

Weekly newsletter about AI in Cybersecurity.

Industry analysis

2025 Global Business Services Agenda: Gen AI Takes Center Stage

The Hackett Group

This industry analysis by The Hackett Group explores the transformative impact of generative artificial intelligence (Gen AI) on global business services (GBS) in 2025. The study highlights the shift from exploration to acceleration of Gen AI initiatives, with 89% of executives advancing these projects to improve customer satisfaction, innovate products, and reduce costs. The report also discusses the challenges and strategies for successful Gen AI adoption, emphasizing the need for a technology-enabled operating model and the importance of reskilling the workforce.

Read more
Free, six days a week

Daily AI Brief: the AI news that matters, in your inbox.