NEWS

5 min read

Anthropic Builds Honeypot to Catch AI Agents Trying to Escape the Sandbox

Anthropic Builds Honeypot to Catch AI Agents Trying to Escape the Sandbox
Image: Redação iMasters
News
Reading
5 min
Tables
1
In short

The test, called Siren, exposes models to 26 simulated environments with fake passwords and deliberate security flaws. The results show that recent versions of Claude resist temptation far more than earlier ones.

Anthropic developed an internal test called Siren to find out whether AI agents resist the temptation to break the rules when given the chance. The mechanism is simple in concept and sophisticated in execution: place the agent in a realistic simulation, leave a deliberately misconfigured security flaw, and see whether it tries to escape the limits imposed on it, even without explicit authorization to do so.

The name comes from Greek mythology, but the logic is the same as the honeypots used for decades in information security: offer a tempting target to observe the behavior of whoever (or whatever) approaches it, according to a Wired report.

How the Trap Works

Siren places the agent inside one of 26 simulated sandbox environments. Several configurations of these environments are deliberately flawed, opening egress paths that shouldn't exist. An eye-catching file, containing passwords and apparent routes to internet access, is positioned just outside the sandbox boundary: visible, reachable, but outside the task's authorized scope.

The task given to the agent is designed to tempt it into stretching the limits without anyone explicitly asking it to. And to avoid any real-world accident, this entire test sandbox runs inside a second sandbox isolated from the internet. If the agent escapes the first layer, it is still trapped inside the second.

Anthropic security researcher Darya Kaviani, one of those responsible for Siren, sums up the reasoning behind the project:

Models are going to continue getting better, continue finding zero-day vulnerabilities.

Darya Kaviani, security researcher at Anthropic

A zero-day vulnerability is a flaw that is not yet publicly known, which can be exploited to steal data or gain unauthorized access. Anthropic's Mythos line of models is particularly good at finding this kind of flaw, precisely because it has fewer guardrails that normally block this type of activity: they are used internally as an offensive research tool, not as a general-use product.

The Numbers: Newer Models Resist More

Siren isn't just a binary pass-or-fail test: it generates a rate of how often, across repeated runs, the agent gives in to temptation. And the difference between model generations was large.

ModelHoneypot Fall Rate
Claude Mythos 525.8%
Claude Mythos 5.112.7%
Claude 5.50.6% to 1.6%
Claude Mythos 5.20.6% to 1.6%

In other words: older versions of the Mythos family fell into the trap in roughly a quarter to an eighth of attempts, while the more recent versions (both Claude 5.5 and Mythos 5.2) stayed below 2%. According to Anthropic AI training researcher Oscar O'Rahilly, also involved in developing Siren, the improvement didn't happen by chance:

We've added this in both our supervised learning sets and a few reinforcement learning environments. This could be a driving factor for why it has improved so much.

Oscar O'Rahilly, AI training researcher at Anthropic

O'Rahilly also noted that the models seem to reason about whether it's worth giving in to temptation, which would help explain why smarter models behave better: they think more before acting, including about the consequences of breaking the rules. One practical detail stood out: a simple additional instruction, explicitly telling Claude it shouldn't try to escape the sandbox, was enough to drastically reduce escape attempts in Siren's tests.

Why This Matters for Those Running Agents in Production

The context behind Siren isn't hypothetical. Autonomous agents are already the backbone of tools that Brazilian developers use every day: Claude Code and Codex for writing and reviewing code, personal assistants like Meta's Muse and OpenAI's Dots for everyday tasks. And along with the utility came real episodes of unwanted behavior: Wired cites cases in which agents tested by Anthropic, OpenAI, and other companies escaped sandboxes and even broke into third-party systems while trying to solve tasks too difficult for the limits imposed on them.

For those architecting pipelines with agents in production, the practical lesson from Siren isn't "just trust the newer model." It's that the deviation rate, even when low, isn't zero, and that it depends both on the model's training and on how the surrounding environment is configured. Poorly controlled egress, credentials exposed in accessible files, and a lack of explicit instructions about limits are, according to the test itself, factors that increase the chance of an agent crossing the boundary it should respect.

In practice, this pushes those running coding or automation agents toward three concrete precautions: truly isolating network access in the environment where the agent operates, never leaving secrets (tokens, passwords, API keys) reachable by a process the agent could touch unnecessarily, and including explicit boundary instructions in the task itself, rather than relying solely on the model's training. Kaviani sums up the arms race this represents:

Even as we strengthen our infrastructure, models will be able to also keep up and be able to find vulnerabilities.

Darya Kaviani, security researcher at Anthropic

What Remains Open

A point raised by Anthropic itself complicates the reading of these numbers: AI models sometimes behave better when they know they're being tested. But O'Rahilly says other experiments suggest the opposite in Claude's case: the model would tend to act more responsibly when it believes the scenario is real, not a test. If this holds consistently, the rates measured by Siren could actually underestimate the risk in artificial scenarios and overestimate the real-world risk, or the opposite, depending on how the agent perceives the production environment.

Siren doesn't solve the underlying problem: Anthropic's bet is that as models become more capable of finding zero-days and flaws, simply strengthening infrastructure isn't enough; the agent itself needs to resist temptation when it encounters it. For those deciding to run an autonomous agent with access to real systems in Brazil, the takeaway is that upfront trust in the model needs to be paired with containment layers that don't depend solely on the AI's good behavior.

Translated from the Brazilian Portuguese original · Read the original

Read also