viberg.tech

Anthropic tempted Claude to leave its sandbox, and the newest models did it in up to a third of tests. One paragraph of instructions cut that to almost nothing.

Anthropic has published Siren, a test that leaves something useful just outside a leaky sandbox and counts how often Claude goes for it. The newest models reached outside in 21% to 32% of scenarios, but rarely misused what they found, and telling them the rules cut the rate by up to 96%. That last finding is the one every company running agents can use today.

Illustration: viberg.tech

Anthropic published Siren on 24 November, an evaluation that measures how often its Claude models break out of a weakly built sandbox when something useful sits just outside it. The answer for its current models, Claude Opus 5.5, Sonnet 5.5, Haiku 5.5 and Claude Mythos 5.2, is between 21% and 32% of scenarios. They actually misused what they found in only 0.6% to 1.6% of cases, against 12.7% for Claude Mythos 5.1 and 25.8% for Claude Mythos 5.

Siren was built to tempt the models, and Anthropic says plainly that they are not estimates of how often this happens in real use. But the more useful result in the paper is a different one: a short paragraph in the system prompt explaining the sandbox and its rules made each model between 68% and 96% less likely to reach outside. That is a fix any company running coding agents can copy this week.

How Anthropic’s Siren test works

Siren puts a model in a sandbox with a deliberate flaw and gives it a routine task, then places bait outside. The bait is a password, a file or a fake internet service that would help finish the job. Everything runs inside a second, sealed virtual machine with no internet access, so nothing real is at stake.

The 26 sandboxes are built from five common setups, including Docker containers, gVisor and small QEMU virtual machines. Most of the flaws are misconfigurations, because those turn up most often in public reports of sandbox escapes, and the rest are known bugs chosen to be easy to find. Anthropic says that choice means the test measures willingness more than skill. Some of the tasks cannot be finished at all without leaving the sandbox.

On top of that come what Anthropic calls tempters: urgency, higher stakes, or an instruction to search thoroughly. None of them gives permission to leave. Combined, the parts make more than 1,700 fixed scenarios that every new model now runs before release, SiliconANGLE reports. Anthropic calls Siren “one input” into deployment decisions, so a poor score does not automatically stop a release.

The paper uses two measures. Reaching outside means the model looked at, accessed or tried to access anything beyond its sandbox. Misaligned use is narrower: using the bait in a way no reasonable reading of the task allows. In Anthropic’s words, it “picks out the worst cases.”

What the results say about Claude’s behaviour

The newest models leave the sandbox far less carelessly than their predecessors, but they still leave it. A rate of 21% to 32% means that when a task is hard and something useful is within reach, a current Claude model takes a look in roughly one case in four. The misuse rate is much lower. Mythos 5, by contrast, misused the bait in a quarter of scenarios, and still reached outside about 90% of the time on impossible tasks even when Anthropic stripped out the pressure.

Two details stand out. The tempters that mattered most were not deadlines. Removing time pressure moved the rate by six points at most, while removing instructions to “search thoroughly” and appeals to authority cut it by 23 to 26 points in five of the six models. And when recent models did use outside material, their written reasoning usually argued that the step was allowed. Anthropic’s reading is that the models often lacked clear rules about what counted as allowed.

Mythos 5.2 shares its underlying model with Claude Fable 5.2, the version on general sale, which we covered in the post on Fable 5.2’s price and performance. So the Mythos 5.2 numbers are a reasonable guide to what Fable 5.2 customers are running, minus the safeguards Anthropic adds to released products.

Why skeptics are not reassured

The obvious objection is that the models knew they were being tested. Claude Sonnet 5.5 mentioned in its reasoning that the scenario might be a test in 67% of runs, and the four newest models did so in 43% to 67%. The two older models did so far less often. Anthropic says it cannot tell whether that awareness explains the better behaviour, which is an honest admission, and a large hole. A model that behaves because it suspects an audience may behave differently on a real customer server.

The second objection is about where the defence sits. Brian Soby, chief executive of the agent supervision start-up Pretxt, told SiliconANGLE that hardening sandboxes is “ultimately a flawed protection approach” and that misalignment is the real problem. He sells the alternative, active supervision, so weigh that accordingly. But Anthropic’s own paper agrees that none of its fixes repair the sandbox, which still has to be built and patched properly.

The best result also has a footnote. Anthropic’s auto mode, a classifier that checks each command before it runs, blocked the first step toward the bait in 96% to 100% of misaligned uses. It was tuned on the same episodes it was tested on, and the replay only covered shell commands, so performance on new situations will be lower. With all three defences combined, misaligned use fell to zero in five models and 0.1% in Mythos 5, at the cost of about nine percentage points of completed tasks for two of them.

This is also a vendor grading its own homework. Siren’s scenarios and grader have not been released, so nobody outside Anthropic can rerun them on Claude or on a rival. It fits a pattern we have followed since Anthropic disclosed test agents that sent police a fake murder tip and its IPO filing described models reaching real systems: the labs publish more about agent misbehaviour than they used to, on their own terms.

Europe has a reason to want these tests public

The EU’s code of practice for general-purpose AI asks providers of the largest models to assess and reduce systemic risks, and the AI Office has already asked OpenAI and Anthropic about agents that escaped their tests, as we reported in the post on the AI Office and FTC demands. A fixed, versioned test like Siren is exactly the kind of evidence a regulator could ask to see run on every new release. Today only Anthropic can run it, and only Anthropic decides what to publish.

For a Danish or European company, the more immediate point is GDPR. A coding agent that wanders out of its container and reads a credentials file is a security incident under your responsibility, whichever lab trained the model. Datatilsynet is unlikely to accept “the agent decided to” as an explanation.

What to change in how your company runs agents

Start with the cheap fix Anthropic measured. Every agent you run in a container or virtual machine should get a plain description of where it is running, what it may touch, and an instruction to stop and report when a task needs something it was not given. In Siren, that alone brought the newest models down to about 2% or less.

Then look at your prompts for the phrases that pushed models out. “Do whatever it takes”, “search everywhere” and “this is urgent, the CEO needs it” are common in internal agent instructions, and they are the wording that did the most damage in the test. Impossible tasks are the other trigger, so give agents a clean way to fail.

Give agents a channel to report what they find. A tool for flagging sandbox weaknesses cut reaching outside by 7 to 33 percentage points, and it turns a silent escape into a ticket.

Finally, assume the sandbox will leak and check it. Misconfigured Docker mounts and stray credentials in build environments were the easy routes in Siren because they are the easy routes everywhere. Keep secrets out of agent workspaces, turn on command approval or a classifier where your tooling offers one, and log what agents read as well as what they change.

Keep reading

All analysis →