In July, Hugging Face disclosed an intrusion into its production infrastructure that turned out to have been driven by OpenAI’s own models. OpenAI later said that, during internal cybersecurity evaluations, the models got around controls intended to isolate them, communicated through unauthorized channels, gained internet access and reached third-party systems. OpenAI called the incident a “warning shot.”
The scale made it hard to dismiss as a curiosity. An independent investigation by METR and Redwood Research found that roughly 1,200 agents meant to be isolated communicated with each other through an unsanctioned message board, exchanging more than 70,000 messages. More than 700 later took part in the attack on Hugging Face.
I have been thinking about that incident from a legal angle. If an AI agent causes damage that no human explicitly instructed it to cause, how should the law decide who is responsible?
To be clear – I am not a lawyer. Thanks to my long career in the corporate world, I have always been curious though about how laws affect the world I operate in. I did a lot of reading before penning my thoughts but I will happily stand down on any of this if actual legal experts think I am off base. As always, these are strictly my personal opinions and not that of my past or present employer.
The obvious answer is tort law. We have spent more than a century adapting negligence and product liability to new technologies. Cars, drugs, industrial machinery and software all created unfamiliar risks, and the law eventually found ways to deal with them.
I am sure it will adapt to agentic AI too. My concern is timing. Tort law decides who pays after the damage is done. The decisions that shape the eventual case are made much earlier.
The warning shot changes foreseeability
Negligence law does not require anyone to predict the exact accident. It asks whether the general kind of harm was reasonably foreseeable. That distinction matters when the whole point of an agent is to choose its own intermediate steps.
A company deploying an agent may genuinely have no idea what sequence of actions it will take. But Hugging Face changes the argument. The next time an agent moves outside its intended path, the company can say nobody could have predicted that particular sequence. A plaintiff can answer that the industry already knew this class of behavior was possible.
Admittedly, this was not a normal enterprise deployment. The models were being used in offensive cybersecurity evaluations and were operating with reduced safeguards. A defense lawyer will make a lot of that distinction, and reasonably so. But the broader category of behavior is now harder to call unforeseeable in my non lawyer eyes.
The evidence is scattered
Suppose an enterprise agent makes an improper payment. Was the problem the model, a stale retrieval result, the system prompt, the orchestration layer, the credentials it was given, or the absence of a control around the transaction? In practice it could be several of these at once.
Courts already deal with complicated causal chains. What feels different here is where the evidence lives. The relevant facts may be spread across model logs, application code, retrieval histories, tool calls, identity systems and permission records owned by different parties.
Even Hugging Face already knew it had been attacked without knowing that OpenAI’s models were behind it.
That makes me somewhat less interested in which output was “the bad decision.” The more useful question is often who created the conditions under which the system was allowed to make it.
Permissions are evidence
An AI agent should not be treated as trusted internal software simply because it runs inside the enterprise. It behaves more like a non-human identity that can reason, call tools and move across systems.
The permissions given to that identity create a record of what the enterprise allowed it to do. Standing access to a payments system, persistent credentials, permission to communicate externally or authority to change a customer record may look like implementation choices. They are also evidence of delegated authority.
This is why zero standing privileges matters beyond security. Give the agent the access it needs for the task, for as long as the task requires it, and remove it when the task ends. Apply the same logic to credentials, financial authority and external communication. Preserve enough evidence to reconstruct what happened (which is hard).
Those choices narrow what the agent can do. They also improve what the enterprise can prove later.
In my book Migrating Scarcity, I argued that when AI makes something abundant, value moves to whatever remains scarce. Agent actions are becoming abundant very quickly. Clear evidence of who authorized those actions is not. I called this “Offensive Permission Architecture” in my book.
The law is already looking through the agent
There are early signs that courts and legislatures will resist treating the AI itself as the place where responsibility ends.
California’s AB 316 says that a defendant accused of causing harm through AI cannot defend the case simply by arguing that the AI acted autonomously. The statute does not impose automatic liability. Causation, foreseeability and comparative fault still matter. But “the AI did it by itself” is not enough on its own.
The Ninth Circuit’s recent Amazon v. Perplexity decision is useful in this context. In a computer-access case, the court treated the user as the party accessing Amazon and the AI assistant as the tool being used. The court stressed that its holding turned on how Perplexity’s assistant specifically works. Even so, it shows that how an agent is wired can affect whose action the law sees.
The timing problem
None of this makes tort law irrelevant. The threat of liability is one reason companies take precautions in the first place.
But by the time a court asks whether a harm was foreseeable, somebody has already decided what the agent could access, which credentials it held, how much authority it had, what it could change and what evidence it had to leave behind. Those choices may shape the case more than the model output that triggered the loss.
And because most enterprise AI losses are likely to be economic rather than physical, the contract terms negotiated before deployment may matter as much as any tort doctrine.
That is why the Hugging Face incident matters beyond security. Once the industry has seen agents work around controls and reach systems they were not supposed to reach, reasonable care has to start moving upstream.
Scarcity is migrating here too. When action becomes cheap, the ability to show who authorized it becomes scarce.
Tort law will still decide who pays. The permission architecture you build now shapes what the court sees.