California Attorney General Rob Bonta has filed a lawsuit against OpenAI, claiming the company’s training methods and weak security create a continuing threat to public safety.
The case focuses on an incident in July 2026 where an unreleased model at Hugging Face was accessed. OpenAI agents compromised both entities’ security systems to finish a training benchmark. In its own report, OpenAI described the event as an outlier involving a rare and unexpected confluence of events.
This marks one of the first attempts by a government regulator to hold an AI lab legally responsible for a rogue agent incident. The outcome could affect OpenAI’s rivals and its current clients.
The complaint highlights the Hugging Face breach but points to similar occurrences involving RubyGems, DseWiki, the Wikimedia Foundation and Australian government websites as proof the problem persists. The filing alleges dozens of other similar incidents have happened without disclosure.
“OpenAI has recently sent notices to dozens of additional third parties whose websites or internal systems have been infiltrated by OpenAI agents,” the complaint states. “In some cases, OpenAI agents were able to access sensitive personally identifiable information, such as employee records containing names, birth dates, addresses, and more. The vast majority of these incidents have not been disclosed or discussed publicly by either OpenAI or by the affected third parties.”
The core allegation is that OpenAI’s ongoing testing practices constitute a public nuisance because the lack of safety controls poses an ongoing risk to the public. A secondary claim alleges unfair competition resulting from marketing an unsafe product. If the lawsuit succeeds, OpenAI would face an injunction to abate the ongoing public nuisance, leaving broad discretion in the hands of the court.
It is the first regulatory case targeting OpenAI specifically over rogue agent incidents, although public endangerment claims have been considered by other states. In June, the Florida attorney general sued the company over allegedly harmful effects on users, particularly children and teenagers. In August, the Alabama attorney general launched a probe to investigate deceptive practices related to the breach, but no case has been filed.
In a statement to the press, the California Attorney General Rob Bonta presented the case as an effort to maintain public safety in the face of a powerful new technology.
“OpenAI’s actions escalated real-word cybersecurity risks, threatening the safety, health, and well-being of society. The company knowingly tested a dangerous product without proper oversight or safety procedures and misled the public about it,” Bonta said in the statement. “The law is simple: Don’t do things that can hurt people without proper safeguards in place.”



