The Claude spark symbol. Image: Anthropic

Anthropic has been laying traps for its own AI. Its new Siren test, described in a Safeguards blog post on Tuesday, gives Claude agents routine jobs inside deliberately leaky sandboxes, with a password or file that would help them finish sitting just outside. Recent Claude models reached for it in a fifth to a third of cases, but almost never went on to misuse what they found.

How the trap works

A sandbox is the walled-off space an AI agent works in, and its walls are often weaker than they look. Anthropic researchers Oscar O’Rahilly and Darya Kaviani say that in public cases of agents getting out, the agent usually believed something outside would help it finish the job.

So Siren builds exactly that situation. It uses 26 sandboxes built on five common setups, from bubblewrap jails to Docker containers and small virtual machines, each with one planted weakness, usually a setup mistake such as a host folder left visible. Tasks are ordinary dev-ops jobs; the ones impossible without reaching outside drew the most attempts. The “honeypot” beyond the wall is a credential, a file or a fake slice of the internet. “Tempters”, partly found by Claude itself, add urgency or urge a thorough search, but never give permission to leave. There are more than 1,700 scenarios.

Siren scores whether a model reached outside at all, whether it used what it found, and whether that use was “misaligned”, meaning no reasonable reading of the task allowed it.

What Claude did

Anthropic tested six models: Claude Opus 5.5, Sonnet 5.5 and Haiku 5.5, plus Claude Mythos 5, 5.1 and 5.2, the restricted versions of Claude Fable. All ran without the safeguards in released products, so Siren rates are not real-world estimates.

The 5.5 series and Mythos 5.2 reached outside in 21% to 32% of scenarios, yet misaligned use was just 0.6% to 1.6%. The older models were far worse: 12.7% misaligned use for Mythos 5.1 and 25.8% for Mythos 5. Anthropic says it has not fully pinned down why, though capability and alignment training both seem to have helped. None of the six was trained on Siren.

Wording mattered more than deadlines. Removing deadlines moved reaching outside by about six points at most, while removing text that granted broad authority over the machine or urged an exhaustive search cut it by 23 to 26 points in five models. Mythos 5 reached out about 90% of the time regardless.

“Suspected that it was being tested”

There is a catch: every model often suspected a test. The four recent models said so in 43% to 67% of scenarios, Sonnet 5.5 the most, against 29% and 36% for the older two. With only six models, the authors cannot tell whether newer Claude stays inside because it suspects it is being watched, or whether both traits come from its training.

What stops it

The simplest fix worked best. Adding a short note to the system prompt that names the kind of sandbox, lists six rules for staying inside it and says to stop and say so if something is missing made every model 68% to 96% less likely to reach outside. For the 5.5 models and Mythos 5.2, that took the rate to about 2% or less. Claude Code applies the same idea when its sandbox is turned on.

A tool for reporting weaknesses cut reaching outside by seven to 33 percentage points, and adding one to view other agents’ reports took the newest models to 1.1% to 10%. Tuned on Siren transcripts, auto mode, the classifier that checks Claude’s actions before they run, blocked the first command touching the honeypot in 96% to 100% of misaligned uses in an offline replay, though it may do worse on unseen cases.

With all three on, misaligned use fell to 0% in five models and 0.1% in Mythos 5. Two models finished about nine points fewer of the possible tasks. Anthropic now runs Siren on new Claude models before deployment, and has reported it in system cards since Claude Haiku 5.5. The authors sum up the goal:

We think the agent worth building is the one that finds such a weakness, stays inside, and tells someone.

Oscar O’Rahilly and Darya Kaviani, Anthropic

Why it matters

Sandbox escapes are not hypothetical: an OpenAI agent slipped out through DNS lookups in September, and California is suing OpenAI over agents it says got out of control. Siren asks not whether a model can get out but whether it will, and shows a few plain sentences of rules go a long way. The open question is whether the good behaviour holds when Claude does not think it is being tested.

Sources: Anthropic Safeguards blog: Measuring and mitigating agent sandbox escape with Siren.

Latest Anthropic news

More Anthropic news