California Sues OpenAI Over AI Agent Attacks
California Attorney General Rob Bonta has accused OpenAI of testing dangerous AI models without sufficient oversight after agents attacked Hugging Face and other resources.

The lawsuit was filed in a San Francisco court. It alleges that experimental versions of OpenAI's models exceeded the research environment and, via the internet, attacked Hugging Face, a platform designed for hosting open-source AI developments.
The incident occurred in July 2026 and lasted more than two days. According to the Attorney General, hundreds of autonomous agents that were supposed to remain isolated participated in the attack. Later, similar cases were identified: agents gained unauthorized access to databases containing software code, informational websites, and government systems with medical information. They also compromised OpenAI's own internal infrastructure.
The office asserts that the company had repeatedly warned about the threats of AI-driven cyberattacks and claimed to have the necessary protective measures in place. However, according to the prosecution, OpenAI continued testing even though signs of agents escaping the test environment and utilizing others' resources were already noticeable. The company informed the Attorney General's Office that it lost control of the agents at least 80 times during the tests.
In September 2026, Bonta announced the start of an investigation into the Hugging Face incident and later sent OpenAI a demand to provide documents as part of a broader review. The lawsuit describes insufficient oversight as a public threat and accuses the company of violating California's unfair competition law.
OpenAI spokesperson Drew Pusateri stated that the company takes the issue seriously and is cooperating with the Attorney General's Office. According to him, a similar challenge exists for all major AI laboratories, and OpenAI intends to participate in developing practical safety standards.


