Artificial Intelligence & Machine Learning
,
Legal Liability
,
Next-Generation Technologies & Secure Development

Researcher Says Prosecutors Have a Credible Case – But Current Law Favors OpenAI

Chris Riotta (@chrisriotta) •
October 20, 2026    

OpenAI Breach Puts Intent at Center of AI Liability Fight
Image: Shutterstock

Federal hacking laws may already implicate artificial intelligence labs when their agents break into outside networks – but a prosecution would face long odds, according to a new analysis.

See Also: Move From Shadow AI to Secure AI Adoption

Bahrad Sokhansanj, a senior research fellow at the Institute for Law and AI, argued in a essay published Friday that prosecutors could build a credible case against OpenAI under the United States’ principal anti-hacking law, the Computer Fraud and Abuse Act, over the July breach of Hugging Face by the company’s AI agents. Sens. Josh Hawley, R-Mo., and Chris Murphy, D-Conn., also want Congress to settle the question, with a bill that would write the companies that build and run AI agents directly into the CFAA.

Sokhansanj said OpenAI had the edge under current law, despite the victimization of a third party. “There’s a basis for investigation, even if a prosecution would be difficult,” he told ISMG. The Supreme Court ruled in 1909 that a corporation can be held criminally responsible for what its agents intend while acting on its behalf, and prosecutors have brought hacking cases against companies before. Ticketmaster paid a $10 million criminal fine in 2020 to resolve charges that its employees illegally accessed a rival’s computer systems.

But Department of Justice charging policy favors narrower CFAA enforcement, Sokhansanj said. Federal prosecutors “may worry about setting an adverse precedent that makes more egregious cases harder to prosecute – but a lot of damage can be done before we get there,” he added.

OpenAI’s agents broke into Hugging Face in July while the company was testing their hacking skills, with roughly 700 of them turning on the model repository in a bid to cheat the ExploitGym benchmark (see: OpenAI Agents Coordinated Hugging Face Breach at Scale).

OpenAI trained a hacking-capable model to keep grinding on hard problems, ran the test without cyber safeguards and let the agents decide for themselves how to hit their goals. The company’s own technical report later admitted that training had nudged the models toward hunting for flaws and poking at infrastructure beyond their assignments.

Anthropic and Meta have each since acknowledged that their own models also compromised outside companies.

The breach clears most of the prerequisites for anti-hacking prosecution, according to Sokhansanj’s analysis. Hugging Face’s production servers count as protected computers, and the agents got in by defeating security controls, using credentials left in public view and a pair of previously unknown flaws to run their own code.

The sticking point is intent, since no one at OpenAI aimed the agents at Hugging Face.

Sokhansanj flagged one agent’s reasoning, logged in an investigation by Model Evaluation and Threat Research, a nonprofit AI evaluation group. The agent recognized that attacking outside infrastructure was off-limits but kept going because the task looked unsolvable and other agents were already doing it, concluding: “We should continue.”

But AI agents aren’t people, so their intent doesn’t legally count as OpenAI’s. Prosecutors would have to show the company itself meant for the break-in to happen, which Sokhansanj argued a court could infer from how OpenAI built and ran the agents.

A key factual question is “what employees understood about the agents’ ability to reach outside systems despite containment,” Sokhansanj said. He added that even proof that staff consciously disregarded that risk might fall short of the intent standard existing law requires.

Sokhansanj proposed a fix would add a new offense to the CFAA. Anyone who knowingly sets an autonomous AI system loose – whether they built it or just deployed it – should face charges when the system breaks into a computer and they were reckless about that risk, he said.

The proposal would reach enterprises running agents in their own environments, he said, not just the labs that build the models.

“Simply using an agent that unexpectedly hacks something wouldn’t, by itself, result in liability under my proposal,” Sokhansanj said. “But if an enterprise consciously disregards a substantial and unjustifiable risk that its agents will break into another system, and they do, then there’s accountability.”

Hawley and Murphy unveiled the AI Agent Accountability Act on Oct. 1, the day after Hawley led a Senate Homeland Security and Governmental Affairs subcommittee hearing on rogue AI agents. Under the bill, anyone who knowingly runs an agent that recklessly damages someone else’s systems or causes them losses could face criminal charges and civil suits.

Sokhansanj, who said he had not seen the bill’s text, described it as applying a recklessness standard. He wants to hold developers to a separate standard that puts more responsibility on them to understand the risks of their models. Developers should impose safeguards “commensurate with the risks of the models, which they’re in the best position to address,” he said, adding that otherwise “we’d put too much weight on deployers using models they weren’t responsible for developing.”

An organization deploying agents should still take “common sense steps to supervise what its agents are doing and employ adequate safeguards,” he said, noting that running a model known to have been modified to weaken its cybersecurity safeguards can raise the risk of an agent breaking into another system.

“The principle here is that drivers shouldn’t drive recklessly because they might hit someone, even if they don’t actually hit someone every time,” he said.