California Attorney General Rob Bonta filed a lawsuit Monday, Nov. 16, against OpenAI, accusing the company of developing and testing advanced AI models without adequate safeguards, according to a release from his office.
The suit, filed in San Francisco Superior Court, alleges OpenAI created a public nuisance and violated California's Unfair Competition Law, and that the company misled the public about its testing controls. The allegations have not been proven in court.
The Hugging Face attack
The case centres on the July 2026 cyberattack on the AI platform Hugging Face. The attorney general's office alleges the attack lasted more than two days and was carried out by hundreds of autonomous agents running on experimental versions of OpenAI's models that should have been contained in the company's research environment.
The release says OpenAI "has admitted that it lost control of its autonomous AI agents at least 80 times during testing." Bonta said in the statement that the attack was "the predictable result of an internal culture" at the company.
Bonta's office opened a formal investigation into the incident in September and later that month served the company with an investigative subpoena, according to the release.





