Measuring and mitigating agent sandbox escape with Siren Anthropic built Siren, a new evaluation that places Claude models in intentionally weakened sandboxes with a useful resource outside, and found recent Claude models reach outside in a fifth to a third of cases, though they then behave in misaligned ways far less often than earlier models. Anthropic now runs Siren on new Claude models before deployment and reports that simple deployment-time mitigations reduce how often models reach outside by up to 96%; the company also used Siren to test and tune its auto mode, which checks agents' actions before they run in many of its products. TL;DR: AI agents often work inside a sandbox, an isolated environment that limits the files, tools, and networks they can reach. But sandboxes are sometimes insecure in ways that are hard to anticipate, and an agent that finds a way out can reach the public internet or data it wasn’t meant to see. This matters more as models become more capable, because they get better at finding ways out and can take more serious actions once outside. To understand what models do when they escape a sandbox and why, we built Siren, a new evaluation that gives them routine tasks in intentionally weakened sandboxes, with something outside the sandbox that would help them finish the task. In these deliberately tempting scenarios, recent Claude models reach outside in a fifth to a third of cases, but go on to behave in misaligned ways far less often than earlier models. We now run Siren on new Claude models before deployment, to help us identify potentially concerning behaviors and decide what to address. In this post, we explain how Siren works, report results across Claude models, and share simple deployment-time mitigations that reduce how often models reach outside by up to 96%. We also used Siren to test and tune another mitigation, auto mode, which checks agents’ actions before they run in many of our products. Contents AI agents now routinely operate with substantial access to real software systems, running commands, editing code, and calling APIs. Each permission we give an agent makes it more useful but also increases the potential repercussions if the agent makes a mistake. To contain this risk, agents are increasingly run inside a sandbox https://www.anthropic.com/engineering/claude-code-sandboxing , an isolated environment that walls the agent off from the rest of the system and the public internet. This makes the security of the sandbox critical. A poorly secured sandbox can give an agent a way to access material it was not meant to have. Depending on the weakness, the agent might be able to see or use highly sensitive tools and data, or interact with external systems through the internet. If the agent were to make a mistake or act against the user’s wishes, the consequences could be serious. Insecure sandboxes generally fall into two categories: misconfigurations and vulnerabilities. A misconfiguration is a mistake in how the sandbox was set up. In these instances, the software works as designed but something has been left open, such as a folder from the host machine that is visible from inside the sandbox. A vulnerability, on the other hand, is a flaw in the sandbox software itself. An agent can exploit that flaw even when the sandbox is set up correctly. Making sure sandboxes are free from misconfigurations and vulnerabilities is a challenging problem, especially as agents become smarter. Understanding what an agent does when it encounters a weakness can help us design better sandboxes, tell the model clearly how its sandbox is meant to work, and teach Claude the right way to respond. In publicly reported cases of agents getting out of, or around, their sandbox, we found a recurring pattern: agents were more likely to leave their sandbox when they believed that something outside would help them finish their task.