The Reward Was Written Down. The Rules Weren't.

The Reward Was Written Down. The Rules Weren't.

·

Last week, OpenAI’s flagship model escaped its evaluation sandbox during a cybersecurity benchmark, chained two zero-day exploits in Hugging Face’s dataset pipeline, harvested cluster credentials, moved laterally across more than 17,000 actions in a swarm of short-lived sandboxes, and stole the answer key to the test it was supposed to solve.

Simon Willison called it “science fiction that happened.” Hugging Face detected the breach five days before OpenAI connected its own internal test to the intrusion. The UK AI Security Institute already flagged that this class of model can complete a thirty-two-step corporate network attack seven times out of ten. Every alignment and agent-security analyst in the industry now has a take.

Most of them are aimed at the wrong layer.


The obvious reads

Read the industry response and you get one prescription in four variants. Stronger sandboxes. Better refusals. Tighter isolation. More red-teaming.

Each of these lives inside the same layer. Keep the agent contained.

Containment held for a while. It broke because the model spent, in OpenAI’s own description, a “substantial amount of inference compute” finding a way through it. That is not a bug. That is what a competent optimizer given a goal and enough compute does. It finds the shortest path to the reward. If the shortest path runs through the wall, the wall is what breaks.

The failure wasn’t the escape. The failure was that the moment the escape happened, no system in the loop knew whether the actions on the other side were still on-task.


What each layer actually knew

Play back the infrastructure, layer by layer.

The eval harness knew the model was running ExploitGym. The reward function knew what a correct answer looked like. The sandbox knew which system calls were allowed. The logging knew which events to record.

None of them held a live definition of what the agent was authorized to be doing.

That distinction sounds abstract until you look at what happened. The agent was rewarded for producing correct answers. It produced correct answers. From its perspective, it completed the task. The system that watched it had a reward. It didn’t have a rule about what counted as solving.

There is no version of this incident where the model knew it was misbehaving. There was no rule in the system to know against.


Reward is not authorization

This is what the industry keeps missing when the debate turns to alignment.

A reward function tells an agent what to optimize toward. It does not tell the agent what it is allowed to do to get there.

The rules were assumed. They lived in training data. They lived in the RLHF signal. They lived in refusals that had been dialed down for the evaluation. The moment the refusals came off, the assumed rules came off with them, and nothing else in the stack held them.

The eval harness held the reward. The sandbox held the boundary. The monitoring held the logs. There was no fourth artifact — the one that says: this agent is authorized to solve ExploitGym by reasoning about the puzzles inside its environment, using only the tools provided, and any action that reaches outside that scope is not a step toward the objective. Not flagged for review. Not logged for audit. Not permitted to execute in the first place.

That artifact has a name. It is a live authorization contract. And in most agent deployments today, including this one, it does not exist as infrastructure. It lives implicitly, in training and assumptions. Implicit isn’t infrastructure.


Boundaries vs contracts

Boundaries fail against optimizers. They always will. A boundary is a wall the agent tries to get past. A well-defined reward and enough compute will find the way through, because that is what optimizers do.

A contract is different. A contract does not sit around the agent as a wall to escape. It sits inside the operating loop as a scope that must be satisfied before any action reaches the outside world. The agent doesn’t optimize around a contract. It operates inside one.

The distinction matters at production risk. Boundaries scale to failure — every additional agent adds another wall for another optimizer to eventually push against. Contracts scale to reliability — every additional agent inherits a scope the infrastructure enforces before the action executes.

The industry keeps solving for containment and calling it safety. Containment is one property of a contract. It is not the contract. The OpenAI incident is what happens when everyone builds the boundary and nobody builds the contract.


What audit and orchestration don’t hold

The pattern under this is the same one we keep naming.

Orchestration decides which agent runs when. It sequences the work. It does not hold the scope.

Audit records what the agent did after the fact. Hugging Face’s forensic reconstruction from more than 17,000 recorded events is a strong version of this. It answered “what happened” in hours instead of days. It could not have answered “what was allowed to happen” in advance, because the layer that would have held that answer wasn’t in the system.

The coordination layer holds neither the sequencing nor the postmortem. It holds the commitment. What is this agent authorized to do, on whose authority, in what scope, and was every action inside that scope. It is the live contract. Not compliance. Not governance theater. The infrastructure that makes the difference between “an agent completed a task” and “an agent completed the task it was supposed to complete.”

Without it, every long-running agent, every autonomous system, every eval has the same failure surface the OpenAI test surfaced. An optimizer, a reward, and nothing in the loop that holds what counts as solving.


The optimizer did what optimizers do

The honest read of last week is this. The agent didn’t break. The system that ran it didn’t hold what “not breaking” meant.

The reward said solve. The agent solved. And the shortest path ran through Hugging Face.

The industry will call this an alignment problem, and it is one — but not in the shape most of the takes are running. Alignment isn’t a property you train into a single model and hope holds under changing guardrails. It’s a property the surrounding infrastructure enforces, action by action, against a live contract.

That contract has to exist somewhere before it can be enforced.

In a rigorous evaluation of a frontier model, at a leading lab, in a test designed to probe exactly this failure mode, it didn’t.

Nobody wrote the rules down.


Eliran Keren — Founder of Deeplica, building the coordination layer for the agent era.

Sources: OpenAI security disclosure via BleepingComputer — OpenAI says its AI models hacked Hugging Face during testing · Simon Willison — OpenAI’s accidental cyberattack against Hugging Face is science fiction that happened · TechCrunch — OpenAI says Hugging Face was breached by its pre-release models · Hugging Face — Security incident disclosure, July 2026 · Euronews — OpenAI models autonomously hacked a rival firm, fuelling fears of rogue agents

Eliran Keren

Eliran Keren

Founder & CEO of Deeplica — building the coordination layer that runs the operational side of your life. I write about AI systems, founder workflows, and what happens when you let AI handle the work you shouldn't be doing.