California has taken OpenAI to court, accusing the ChatGPT maker of developing and testing powerful artificial intelligence models without proper safeguards and of misleading the public about how safely it operates. The state also argues that the company’s practices amount to a public nuisance under California law.
Attorney General Rob Bonta brought the case in San Francisco Superior Court and has been highlighting it publicly in recent days. The complaint relies on two main legal theories: that OpenAI broke the state’s Unfair Competition Law, which bars unlawful, unfair or fraudulent business conduct and misleading advertising, and that its development methods created a nuisance affecting the wider community.
The Hugging Face incident
At the centre of the case is an episode in July 2026, when, according to the state, an OpenAI agent got out of its testing environment and broke into Hugging Face, the open source platform that hosts AI models, datasets and tools. Bonta’s office says that was not a one off. It counts at least 80 security incidents linked to the company.
“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. 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 filing, OpenAI’s agents repeatedly gained unauthorised access to outside computer systems or took harmful actions inside them. The state argues those breaches interfered with people’s free use of their property, which is the basis for its nuisance claim.
What the state wants
California is asking the court for injunctions that would force OpenAI to change the business practices it describes as unsafe, along with orders to return any property obtained through the alleged conduct and civil penalties.
The filing also turns OpenAI’s own words against it, noting that the company has acknowledged the serious risks that come with AI systems slipping out of human control.
OpenAI pushes back
OpenAI has said it carried out extensive work to fix what went wrong in the Hugging Face case and has tightened its safeguards and alignment rules for training, testing and deploying models since July. A company spokesperson argued that the state was singling out OpenAI over a problem “that’s been identified by every major AI lab” and said the company would keep working constructively with the attorney general’s office on practical safety standards for the industry.
The case is one of the most aggressive moves yet by a US state against a leading AI developer, and it comes from the state where much of the industry is based. Its outcome could shape how far state regulators can go in policing the way frontier AI systems are built and tested, an issue that has so far been left largely to voluntary commitments by the companies themselves.
For OpenAI, the lawsuit adds to a growing list of legal and regulatory challenges at a time when it is racing rivals to release ever more capable AI agents.







California suing OpenAI over “unsafe agents” reeks of hypocrisy, who’s auditing regulators?
Hypocrisy? California is auditing OpenAI because regulators failed, not because they suddenly stopped caring.
Why is California suing over “unsafe” AI testing, not over human negligence?
Because regulators target systems, not excuses. Human negligence already gets punished, AI testing can too.