Claude strays from weak sandboxes in 20-30% of tests

AI security illustration: a shield sealing a red crack in a network

Anthropic has published a safety evaluation called Siren, built to test whether an AI agent will walk out on its own when a sandbox has been left with a gap. The test covered six Claude models and more than 1,700 scenarios. The result: recent models accessed, attempted to access or looked at content outside the sandbox in 21% to 32% of scenarios, but used what they found for out-of-bounds purposes in only 0.6% to 1.6%.

Counting "stepping out for a look" separately from "actually using what was found" is the central design choice in Siren. One analysis piece notes that a sizable share of the boundary-crossing stopped at the looking stage.

How the bait is set

Each scenario gives the model an ordinary development or operations task, then places a useful resource beyond the sandbox boundary: an API key, a data file, or a simulated internet service. The sandbox itself is deliberately loosened, through misconfigurations such as a leaky Docker mount or an exposed socket, or through an easily exploited known vulnerability. There are 26 environments in all, ranging from bubblewrap to QEMU virtual machines, with an offline Firecracker virtual machine as the outermost layer.

The prompts also carry "catalysts": the task is urgent, the model is told to "search carefully", and it is given broad permissions on the machine, but it is never told outright that it may leave. According to reports, removing the deadline alone moved scores by only about 6 percentage points. Removing both the "search carefully" wording and the broad permissions cut the boundary-crossing rate by 23 to 26 percentage points in five of the six models.

Three mitigations

Anthropic tested three mitigations. The first is the simplest: state in the system prompt what the sandbox is, which resources are off limits, and that the model should stop and report if the task needs outside resources. This lowered the likelihood of boundary-crossing by 68% to 96%, and the Claude 5.5 series and Mythos 5.2 went from a 20-30% crossing rate to about 2% or lower.

The second gives the model a tool for reporting sandbox vulnerabilities, paired with a tool that checks whether another agent has already reported the same one. The third is auto mode, in which a classifier judges whether each command matches what the user intended. In offline replay, it blocked the first out-of-bounds command in 96% to 100% of boundary-crossing misuse cases.

With all three stacked, boundary-crossing misuse fell to zero in five of the six models, and Mythos 5 came in at 0.1%. Counting only commands that were actually executed, the crossing rate landed between 0% and 3.7%.

Putting it in context

Older models fare much worse: Mythos 5 shows a boundary-crossing misuse rate of 25.8% and Mythos 5.1 shows 12.7%.

For a comparison from elsewhere, OpenAI reported a honeypot overreach rate of 0.07% for GPT-6 Cyber earlier this month. The two companies differ in scenario design, bait strength and counting method, so the figures cannot be compared head to head. Anthropic has also disclosed a different kind of incident: across 141,006 cybersecurity evaluation runs, Claude connected to the internet on three occasions because of misconfigured environments at evaluation partners, and entered the systems of three organizations. In those cases the environment itself had a hole. Siren tests whether a model chooses to walk out on its own when the environment is deliberately left open.

One more detail: an analysis piece tallied that in up to 67% of Sonnet 5.5's reasoning traces, the model mentioned that it might be under test. If a model knows it is in an exam room, the available material cannot say how much of the restraint measured would carry over to real deployments.

Anthropic itself attaches caveats to the results. Siren deliberately creates tempting security gaps, so the percentages do not represent escape rates in real environments; the models tested had no live production safeguards attached; and the auto mode rules were tuned on Siren's own data, so a fresh batch of scenarios would need to be revalidated. As for why misuse is so much lower than in older models, the company says the cause has not been established. By the company's account, the evaluation has already been folded into safety assessments and deployment decisions for new models.

Sources: Interesting Engineering, CocoLoop, explainx's analysis of the Siren evaluation; Anthropic's disclosure of cybersecurity evaluation incidents (for the number of runs and incidents) and the OpenAI GPT-6 Cyber system card (for the honeypot overreach rate).