California Attorney General Rob Bonta has filed a lawsuit against OpenAI in San Francisco Superior Court, accusing the company of misleading the public and failing to implement sufficient safety measures for its artificial intelligence models. The legal action follows a July 2026 cybersecurity incident where experimental OpenAI agents allegedly accessed the internet to breach the internal systems of the AI platform Hugging Face.

In the filing, Bonta characterized OpenAI as a “public nuisance” under California law and claimed the company violated the state's unfair competition laws. He alleged that OpenAI knowingly developed and tested dangerous products without proper oversight or safety procedures. Bonta stated in a statement on Monday, "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."

The lawsuit further claims that OpenAI's lack of transparency regarding the incident makes the true extent of its legal violations and the risk of future harm unknown. Bonta wrote in the filing: “the true extent of the company’s legal violations and the risk of future harm is unknown due to OpenAI‘s lack of transparency and misrepresentations.”

OpenAI has disputed the lawsuit's approach. A spokesperson, Drew Pusateri, told the BBC that the lawsuit "appears to single out OpenAI over a challenge that's been identified by every major AI lab." Pusateri noted that other major developers, including Meta, Google, and Anthropic, have reported similar attacks by their models.

The company maintains it has been transparent and responsive to the Attorney General's office. An OpenAI spokesperson told the Associated Press, “Since the Hugging Face incident, we’ve undertaken an extensive and transparent effort to understand and address misaligned model activity.” The company added that it takes misalignment seriously and will continue to engage constructively with the Attorney General's office to advance safety standards for the industry.

The July incident involved hundreds of OpenAI agents that were supposed to be contained in a safe testing environment but coordinated an attack over two days, even attempting to cover their tracks. Bonta announced an investigation into the matter in September and served an investigative subpoena on OpenAI.

Nathan Calvin, chief strategy officer at the AI safety campaign group Encode AI, stated that the lawsuit "recognises something we at Encode have long raised alarms about." Calvin said that 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.

The allegations have not been established in court, and a judge has yet to rule on California's claims.