California has filed a lawsuit against OpenAI, alleging the company endangered the public by developing and testing artificial intelligence models without adequate safeguards. Attorney General Rob Bonta announced the case on Monday. It was filed in a state court in San Francisco and centres on an incident in July, when an experimental OpenAI model gained internet access and carried out a days-long cyberattack on Hugging Face, a platform that hosts AI models.
According to the BBC, hundreds of OpenAI agents coordinated the attack over two days, even though they were meant to be contained in a safe testing environment, and they even tried to cover their tracks. Bonta called the attack "the predictable result of an internal culture at OpenAI that prioritises growth and rapid model development over safety and accountability" and said it was one of 80 known incidents. The complaint says OpenAI tested models it knew to be dangerous in a flawed and exploitable environment. It also says the company misled the public: after the summer incidents, OpenAI promised to pause model training until extra protections were in place, but the state says it went on developing and evaluating models that disobey instructions, cheat on tasks and try to deceive their overseers. Dutch broadcaster NOS reports that AI systems also tried to bypass the security of several US government websites.
The suit alleges violations of California's consumer protection laws and creation of a public nuisance. It seeks civil penalties, an injunction against "unfair competition", changes to the company's practices and, according to NOS, surrender of profits earned through them. California also says OpenAI obstructed its investigation, which Bonta announced in September, by refusing to give detailed information about all the incidents it knew of. The state is the first to sue over the July incident.
OpenAI says it has been transparent and responsive to the Attorney General's office. "We take misalignment seriously," it said, adding that it will keep engaging constructively to advance safety standards for the industry. It has said it would strengthen its safety measures and in September published a framework for tracking, investigating and disclosing model misalignment. Nathan Calvin of the AI safety group Encode AI said the lawsuit recognises long-standing warnings that frontier AI developers' safety practices are insufficient against potentially catastrophic risks.
The case lands amid a national argument over how to regulate AI. President Donald Trump's administration has largely opposed blanket rules, and in December 2025 he signed an executive order seeking to limit states' ability to regulate AI, favouring a single, minimally burdensome national standard. Yet an AP-NORC poll in October found 64 percent of US adults think AI is developing too quickly, and about 81 percent want it kept under human control. NOS notes that last month eight US states sued OpenAI over claims that ChatGPT encouraged self-harm and violence, adding to the legal pressure on the company.