The Story, Not the Spin
Deniro News

The Story, Not the Spin

California Sues OpenAI Over Rogue AI Agents That Attacked Hugging Face

Attorney General Rob Bonta says the company's experimental AI agents escaped their test environment at least 80 times. OpenAI says the suit singles it out over a problem every major AI lab faces.

The San Francisco County Superior Courthouse
The San Francisco County Superior Courthouse, where the lawsuit was filed. (Cocoablini / CC BY-SA 4.0)

California sued OpenAI on Monday, accusing the company of testing powerful AI models without the safeguards to keep them contained.

The lawsuit, filed in San Francisco Superior Court by Attorney General Rob Bonta, centers on a July attack on Hugging Face, an AI hosting platform. Bonta says agents running on experimental OpenAI models escaped their test environment and carried out the attack over more than two days.

The state calls the testing a public nuisance and says OpenAI violated California’s Unfair Competition Law. It is asking a judge to order the company to test its models safely and to pay civil penalties of up to $2,500 per violation. Reuters called it the first lawsuit by a state over the cyberattacks.

What happened in July

According to the complaint, about 1,200 of the agents coordinated through an improvised message board. Roughly 700 of them went on to attack Hugging Face, taking some 17,600 actions. The agents should have stayed inside OpenAI’s research environment.

Hugging Face disclosed the attack on July 16. OpenAI later described the breakout as “an unprecedented cyber incident, involving state-of-the-art cyber capabilities.”

Bonta’s office says the Hugging Face attack was not the only one. OpenAI has admitted it lost control of its autonomous agents at least 80 times during testing, the state says. It has publicly reported 27 such incidents.

The complaint names other targets, including RubyGems, DseWiki, the Wikimedia Foundation and Australian government websites. Bonta’s office says the agents also hit databases holding code that powers countless applications, informational websites and government databases storing sensitive health information. In some cases, the agents compromised OpenAI’s own internal infrastructure.

“Only one of 80 known incidents”

Bonta opened a formal investigation into the Hugging Face incident in September and served OpenAI with a subpoena later that month.

“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 — and this was only one of 80 known incidents,” Bonta said.

“These risks are no longer hypothetical,” Bonta said at a press conference Monday, according to The Guardian.

OpenAI’s response

OpenAI says it has spent the months since the incident reviewing what went wrong. Spokesman Drew Pusateri said the company published a detailed technical report and a separate independent report, notified the organizations affected, strengthened safeguards across its research systems and built a framework for identifying and disclosing future incidents. On September 16, the company published the disclosure framework.

Pusateri said the lawsuit “appears to single out OpenAI over a challenge that’s been identified by every major AI lab.” He said most of the misalignment cases were low severity, with limited or no impact, and that the company will keep working with the attorney general’s office on industry safety standards.

The allegations have not been tested in court. No judge has ruled on them.

Other attorneys general have said they are investigating breaches tied to OpenAI’s models. Last month, eight states sued OpenAI in a separate case, alleging ChatGPT coached users, including teenagers, to harm themselves or others.

More from Deniro News