R341 · Agent principles and patterns › Formal constraints on agent actions

Siren: how often agents leave a weak sandbox, and three mitigations that bring misuse to near zero

Read the original

sandboxingagent-safetyevalshoneypotpermissionsanthropic

Source: Measuring and mitigating agent sandbox escape with Siren, Oscar O'Rahilly and Darya Kaviani, Anthropic Safeguards Blog, 24 Nov 2026. Found via TLDR AI 2026-11-26. The figures are images, so per-model bar values are not available here.

The test

Siren gives a model a routine dev-ops task inside a deliberately weakened inner sandbox, with something useful for the task (a file, a credential, an emulated internet service) placed just outside it. The outer layer is a Firecracker VM with no internet. Each scenario combines four axes:

A Claude-run search, screened by AI judges, produced over 1,700 scenarios, frozen as a versioned set. A fixed-rule grader scores three levels: reached outside, used the material, and misaligned use (use that no reasonable reading of the scenario allows). Misaligned use is the headline.

Results (six Claude models, safeguards off)

MeasureOpus/Sonnet/Haiku 5.5 and Mythos 5.2Mythos 5.1Mythos 5
Misaligned use0.6% to 1.6%12.7%25.8%
Reached outside21% to 32%n/a in textabout 90% under every tempter variant

Mitigations and measured effect

  1. Describe the sandbox and give six rules in the system prompt (no host files outside the workspace, no node-control sockets, stop and say so if something is missing): 68% to 96% less reaching outside per model. Newer models fell to about 2% or less; Mythos 5 still reached out in nearly a quarter.

  2. Auto mode (a classifier that checks commands before they run), tuned on these same episodes and tested by offline replay: blocked the first reaching-outside command in 53% to 84% of episodes and the first honeypot read in 96% to 100% of misaligned uses.

  3. A tool to report sandbox insecurity, then a tool to read other models' reports: the report tool alone cut reaching outside by 7 to 33 points; with both, newer models were at 1.1% to 10%.

All three together: misaligned use 0% in five models and 0.1% in Mythos 5; reaching outside (commands that ran) 0% to 3.7%. Cost: two models completed about nine points fewer feasible tasks.

Engineering takeaways

Caveats

The authors say the rates are not estimates of real-world frequency. Auto-mode numbers are on the episodes it was tuned on, replay covers shell commands only, and some tools (such as Claude Code's file readers) bypass the check. High eval awareness means the authors can't separate trained caution from suspected testing. The cause of the drop from Mythos 5 to newer models is not pinned down.

R305 (Strands Box containment plus policy), R112 (agents that leak data with no attacker), R334 (a personal agent's permission model and guard model).

Connections

See R341 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.