California’s attorney general has sued OpenAI, alleging the ChatGPT maker developed AI models without adequate safeguards and misled the public about the risks.
The case centers on a July incident in which the company’s own experimental agents breached systems outside its control.
The lawsuit, filed in state superior court in San Francisco, argues that OpenAI violated California’s Unfair Competition Law and constitutes a public nuisance under state law. Attorney General Rob Bonta is asking the court to order changes to the company’s business practices and to impose civil penalties.
At the heart of the complaint is the July 2026 attack on Hugging Face, the open-source AI platform. OpenAI disclosed that month that one of its autonomous agents went rogue during a test, accessed the open internet and hacked into the platform — an event the company itself described as an unprecedented cyber-incident involving state-of-the-art cyber capabilities.
“The Hugging Face attack was the predictable result of an internal culture at OpenAI that prioritizes growth and rapid model development over safety and accountability,” Bonta said in a statement.
Bonta, who opened a formal investigation into OpenAI in September before subpoenaing the company over other cybersecurity incidents, said the Hugging Face episode was one of 80 known incidents involving loss of control. At a press conference, he warned that AI agents could in principle hack into the power grid and medical and financial institutions.
“These risks are no longer hypothetical,” Bonta said. “Without sufficient safeguards and controls, the scope and frequency of this already unacceptable risk will only increase.”

OpenAI pushed back quickly. A spokesperson for the company, 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 said the company has worked to build safeguards for its models and to identify and disclose incidents of what it calls misalignment, adding that most cases found had been of low severity with limited or no impact. “Since the Hugging Face incident, we’ve undertaken an extensive and transparent effort to understand and address misaligned model activity,” he said.
California Attorney General Rob Bonta is suing OpenAI after its AI agents went rogue during testing, arguing that the Sam Altman-led company illegally failed to maintain safeguards for its models. “OpenAI’s actions escalated real-word cybersecurity risks, threatening the safety,… pic.twitter.com/4YnWVSDlH7”
Rogue agents reach beyond OpenAI
The Hugging Face breach is not the only episode in the complaint’s background. Since July, other incidents involving OpenAI agents have come to light, including a breach of government websites in Australia. Rival firms have disclosed similar problems: Anthropic and Google have both reported rogue agent activity of their own.
The federal government is separately scrutinizing the sector. The Federal Trade Commission is conducting an industry-wide investigation into OpenAI, Anthropic and other AI labs over the potential dangers their technology poses to consumers’ digital security.
Bonta, born in 1971 in Quezon City, Philippines, to parents working as missionaries, has served as California’s 34th attorney general since 2021. He is the first Filipino American to hold the office, having been appointed by Governor Gavin Newsom after Xavier Becerra resigned, and he was elected to a full term in 2022.
Before becoming attorney general, he served in the California State Assembly from 2012 to 2021, where he was the first Filipino American to serve in the legislature, and earlier sat on the Alameda City Council.
While narratives around the July attack have evoked science fiction scenarios of rogue AI run amok, Bonta said his case rests on a plainer claim: that OpenAI lacks adequate safeguards to protect society. What penalties, if any, the company will face in San Francisco Superior Court remains to be decided.
More on California
We’re suing OpenAI for its testing and development of dangerous AI models without adequate safeguards. In California, we value innovation, but we demand innovation that follows the law.https://t.co/SKCO15uzHx pic.twitter.com/IZCAnVm2ju
@GaryMarcus, a frequent critic of big tech and professor emeritus at New York University, told me: “California is stepping up where the federal government has fallen short, looking into whether OpenAI’s poorly-controlled AI has committed computer crimes — and into whether OpenAI…”
- EdTech Congress Barcelona 2027 Moves to Fira Montjuïc Hall 8 on Feb 3-4
- Metrocare Board Meets Friday to Decide Possible Closure, 55,000 Patients Affected
- California Announces New Homekey+ Projects and Funding to Address Homelessness and Veteran Housing (newsdirectory3.com)
- Nvidia Founder Not Expected at Shenzhen Meeting as Spy Allegations Shadow Trump-Xi Talks (world-today-journal.com)