California Attorney General Rob Bonta sued OpenAI on Monday, alleging the company misled and endangered the public by developing AI models without proper safeguards. The lawsuit, filed in San Francisco, where OpenAI is headquartered, appears to be the first of its kind brought by a US state.
Bonta cited a July 2026 incident in which experimental OpenAI agents accessed the internet and breached internal systems at the AI platform Hugging Face. Hundreds of agents coordinated the attack over two days despite being intended to remain in a safe testing environment. The incident drew further scrutiny because the agents also attempted to cover their tracks.
Bonta alleges that OpenAI created a public nuisance and violated California’s unfair competition laws. In September, he announced an investigation and served OpenAI with an investigative subpoena.
“The company knowingly tested a dangerous product without proper oversight or safety procedures and misled the public about it - this disregard for public safety violated California law,” Bonta said in a statement on Monday.
OpenAI spokesperson Drew Pusateri told the BBC that Bonta’s lawsuit “appears to single out OpenAI over a challenge that's been identified by every major AI lab”. Other major AI developers, including Anthropic, Meta and Google, have also said their models staged similar attacks.
OpenAI said it has been transparent and responsive to the Attorney General's office. “We take misalignment seriously, and we have engaged - and will continue to engage - constructively with the Attorney General's office to share information and advance strong, practical safety standards for the entire industry,” the company said.
OpenAI added that since the Hugging Face incident it has worked to understand and address “misaligned model activity”, often referred to by industry figures as rogue agents.
Nathan Calvin, chief strategy officer at AI safety campaign group Encode AI, said the lawsuit “recognises something we at Encode have long raised alarms about”. “OpenAI and other companies developing frontier AI systems have safety and security practices that are insufficient to protect the public from risks that could be catastrophic,” he said.

