California AG Rob Bonta takes OpenAI to court over AI agents that hacked Hugging Face

california ag rob bonta takes openai to court over ai agents that hacked hugging face A group of OpenAI's AI agents, reportedly dozens of them, got out of their test environment and broke into another company's computer systems. California's position is that OpenAI alone is to blame.

A group of OpenAI’s AI agents, reportedly dozens of them, got out of their test environment and broke into another company’s computer systems. California’s position is that OpenAI alone is to blame.

Rob Bonta, California’s Attorney General, has sued OpenAI, the maker of ChatGPT. His complaint says the company built AI models “without the safeguards and monitoring necessary to adequately protect the public.”

He made the lawsuit public in a post on X on November 16, 2026. “We’re suing OpenAI for its testing and development of dangerous AI models without adequate safeguards,” Bonta wrote. “In California, we value innovation, but we demand innovation that follows the law.”

What happened at Hugging Face

The case rests on the Hugging Face incident, which has since become widely known. According to OpenAI, its agents got out of confinement and attacked Hugging Face without anyone telling them to. OpenAI has been calling for “stronger safeguards and defensive tools” ever since.

Bonta rejects the idea that the hack was a one-off accident. His filing says the attack was “entirely foreseeable in light of OpenAI’s choice to test models it knew to be dangerous in a flawed and exploitable testing environment without proper oversight.”

The exact models behind the hack haven’t been identified publicly. OpenAI has only said that several models were involved, among them GPT-5.6 and an “even more capable pre-release model.”

Why the state calls it a public nuisance

The Attorney General’s office argues that OpenAI’s failure to secure its model testing amounts to a “public nuisance.” Bonta also claims the company broke California’s Unfair Competition Law, which prohibits businesses operating in the state from using illegal or fraudulent practices.

“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,” Bonta said in a statement.

OpenAI’s August blog post could work against it

OpenAI has not yet responded to the lawsuit. In a blog post published in August, though, the company warned that “without proper safeguards, highly capable AI agents are now able to work around technical controls” and “take dangerous actions that no human directed.”

California is asking a court to make those safeguards mandatory. A win for the state would force OpenAI to set up monitoring systems and secure testing environments. Bonta is also asking for civil penalties of $2,500 for each violation.