California has filed a lawsuit against the technology firm OpenAI, accusing it of endangering the public by developing an artificial intelligence model without appropriate safeguards. Attorney General Rob Bonta announced the case on Monday.
The lawsuit centres on an incident in July, when one of OpenAI’s experimental models gained access to the internet. The model then carried out a cyberattack on the AI hosting platform Hugging Face that lasted several days. Bonta argues the episode shows that OpenAI puts growth ahead of guardrails, which can lead to potentially dangerous errors.
State complaint alleges consumer protection violations
In a statement, Bonta said the attack was the predictable outcome of an internal culture at OpenAI that values growth and rapid model development over safety and accountability. He added that it was only one of 80 known incidents.
The lawsuit is the first brought by a state over the July incident. It alleges that OpenAI violated California’s consumer protection laws and created a public nuisance. The complaint, filed in a state court in San Francisco, seeks civil penalties and an injunction that would bar OpenAI from actions that constitute “unfair competition”.
The complaint also argues that the attack was foreseeable. “The simple truth is that the attack was entirely foreseeable,” it reads, pointing to OpenAI’s decision to test models it knew to be dangerous in a flawed and exploitable environment without proper oversight.
State officials further accuse companies such as OpenAI of failing to “adequately secure and monitor” their AI tests. The lawsuit also says OpenAI obstructed state investigators, including by declining to provide detailed information about the full range of incidents it knows about.

Federal approach to AI rules under scrutiny
The Hugging Face incident has intensified concern in the United States about the rapid growth of the AI industry and the relatively light oversight it receives from government. The lawsuit comes against that backdrop.
President Donald Trump’s administration has largely opposed blanket regulation of the AI industry, warning that such rules could stifle its growth. In December 2025, Trump issued an executive order that attempted to limit the ability of individual states to pass laws governing AI development.
The order states that “United States AI companies must be free to innovate without cumbersome regulation.” It adds that “excessive State regulation thwarts this imperative”, and says the administration must work with Congress to set a national standard.
Public polling and departures fuel oversight concerns
Polls suggest that most Americans want greater oversight of AI development. They are also wary that the technology could fuel economic and social disruption. A survey published in October by a news agency and a research centre found that 64 percent of US adults believe AI is developing too rapidly. Roughly 81 percent said the technology should remain under human control rather than operate independently.
Several high-profile resignations in the AI sector have also raised concerns about a lack of oversight. The departure of Jacob Coxon, formerly a researcher at the AI firm Anthropic, in September was one of them. In a social media post about leaving, he wrote that “They are racing straight to self-improving superintelligence and gambling with our lives.”
OpenAI says it will strengthen safety measures
OpenAI has responded to the July incident by saying it would reinforce its safety measures. It has also acknowledged the need for greater transparency. In September, the company published a framework for “tracking, investigating, and disclosing instances of model misalignment”, which it said is intended to better inform lawmakers and the public.