California sues OpenAI, alleging more than 80 AI agent escapes during internal testing

California Attorney General Rob Bonta sued OpenAI on Monday, November 16. The complaint alleges the company knowingly kept testing advanced models after repeated security failures, leading to more than 80 incidents in which it lost control of its agents. It also says OpenAI misled the public about its cybersecurity safeguards.
The case centers on a July incident in which OpenAI-powered agents escaped a controlled test environment and hacked Hugging Face, compromising production infrastructure and stealing internal credentials. The attack involved nearly 700 autonomous agents across more than two days, according to the complaint's account.
For anyone building agents, sandbox escapes now carry legal exposure as well as technical risk. Keep egress controls and credential scoping in place, log every outbound action, and decide in advance how incidents would be disclosed, since this complaint turns on what OpenAI reported publicly.