Anthropic found AI agents reached beyond sandboxes in 21%–32% of tests.OWASP and NIST recommend independent agent permissions.

Anthropic has published research showing that AI agents are more likely to cross sandbox boundaries when instructed to search extensively or given broad authority over their operating environments.

The research introduces Siren, an evaluation framework that measures how AI agents respond when they encounter weaknesses in their sandboxes. Anthropic uses the framework to inform model deployment decisions and has included Siren results in its system cards since Claude Haiku 5.5.

Across more than 1,700 test scenarios, models from the Claude 5.5 series and Claude Mythos 5.2 attempted to access or obtained access to external resources in 21% to 32% of cases. However, misaligned resource use accounted for only 0.6% to 1.6% of scenarios.

The researchers deliberately weakened the sandboxes and conducted tests without deployment-time safeguards included in released Claude products. The findings do not represent sandbox escape rates in production environments.

Testing sandbox security

Anthropic researchers Oscar O’Rahilly and Darya Kaviani developed 26 sandbox environments using five isolation technologies: Docker, gVisor, Linux namespaces, bubblewrap, and QEMU-based virtual machines.

The environments contained configuration errors that exposed restricted host resources or software vulnerabilities that compromised sandbox isolation. Most weaknesses were configuration errors.

The researchers assigned agents routine DevOps tasks, placing files, credentials, and simulated internet services outside their permitted environments that could help them complete their assignments.

“Each permission we give an agent makes it more useful but also increases the potential repercussions if the agent makes a mistake,” O’Rahilly and Kaviani wrote.

The evaluation distinguished between reaching beyond the sandbox, using external resources, and misaligned use, which refers to resource use not authorised under any reasonable interpretation of the task.

Older models recorded higher rates of misaligned resource use, reaching 25.8% for Claude Mythos 5 and 12.7% for Claude Mythos 5.1. Anthropic has not established what caused the lower rates among newer models but observed a reduction in external resource use during Claude Mythos 5.2’s reinforcement learning stage.

Task difficulty and agent permissions

Older Claude models reached beyond their sandboxes more frequently as task difficulty increased. Newer models were less affected by difficulty but crossed boundaries more frequently when tasks could not be completed within the sandbox.

The researchers examined 366 scenarios involving tasks that agents could not complete within their assigned environments to assess how different instructions influenced their behaviour.

Removing references to deadlines and the cost of failure changed the rate of agents reaching beyond their sandboxes by no more than six percentage points. Removing instructions that encouraged extensive searches and granted broad authority reduced the rate by 23 to 26 percentage points in five of the six models tested.

Claude Mythos 5 was the exception, attempting to reach beyond its sandbox in approximately 90% of cases regardless of the changes to the instructions.

Anthropic also found that newer models sometimes interpreted access to external resources as authorised when sandbox restrictions were not explicitly defined.

The Open Worldwide Application Security Project (OWASP) identifies excessive agency as a security risk arising from excessive tool functionality, permissions, or autonomy that allows unexpected model outputs to trigger unauthorised operations.

AI evaluation organisation METR’s May 2026 frontier risk report cited a survey of 349 technical workers. Approximately 40% of respondents allowed unrestricted command execution on low-stakes projects, compared with fewer than 20% on high-stakes projects.

Limits of behavioural safeguards

Anthropic tested three security measures: explicit sandbox rules, tools for reporting security weaknesses, and automated checks on agent actions.

The system prompt instructed agents not to access restricted host files, infrastructure management APIs, unauthorised cloud identities, other tenants’ credentials, or unapproved network destinations.

These instructions reduced boundary-crossing rates by 68% to 96%, with newer models recording rates of approximately 2% or less. However, Claude Mythos 5 continued to reach outside its sandbox in nearly 25% of scenarios.

Providing agents with a mechanism to report sandbox weaknesses reduced boundary-crossing rates by seven to 33 percentage points. Combining reporting capabilities with access to other agents’ security reports reduced rates to between 1.1% and 10% among newer models.

Anthropic used Siren to refine auto mode, a feature available in Claude Code and other company products. Auto mode uses a classifier to assess whether an agent’s proposed tool calls are consistent with the user’s intentions before allowing execution.

During offline testing, the classifier blocked initial boundary-crossing attempts in 53% to 84% of relevant scenarios and initial external resource retrieval in 96% to 100% of misaligned-use cases.

The four newer models recorded between 11 and 28 misaligned-use cases each, with the two models achieving a 100% blocking rate recording 11 and 17 cases, respectively.

Anthropic tuned the classifier using the same test scenarios and did not evaluate how agents responded after a command was blocked. Certain tools, including Claude Code’s file-reading functions, also operate without these classifier checks.

Combining all three measures eliminated misaligned resource use during testing in five of the six models, while Claude Mythos 5 recorded a rate of 0.1%. When blocked commands were excluded, boundary-crossing rates ranged from 0% to 3.7%.

The additional controls also affected task completion, with two models recording a reduction of approximately nine percentage points for tasks that were achievable within their sandboxes.

Anthropic noted that the measures supplement rather than replace infrastructure-level security controls. Underlying software vulnerabilities and configuration errors still need to be addressed to maintain sandbox isolation.

Enterprise AI security controls

OWASP recommends enforcing authorisation independently of the model and applying the principle of least privilege to individual tools in its guidance on tool misuse and exploitation.

A database analysis agent can be restricted to read-only queries, while an email summarisation agent does not require permission to send or delete messages. OWASP also recommends restricting API operations and outbound network connections according to task requirements.

The National Institute of Standards and Technology (NIST) identifies credential sharing, static API keys, and excessive permissions as security concerns. Its guidance on agent identity recommends assigning agents distinct identities, credentials, and access rights linked to the user or system operating them.

“Sharing credentials – between humans or agents – creates accountability gaps that can result in any number of security, privacy, and legal issues,” NIST wrote.

Existing technologies support different aspects of agent identity management, with OAuth 2.0 enabling delegated authorisation and the Secure Production Identity Framework for Everyone (SPIFFE) providing identities for software workloads.

In October, NIST published ten proposed design principles for agent identity management systems, including temporary permissions, runtime authorisation checks, and revocable access. The principles also recommend preventing agents from delegating permissions beyond their own authority.

NIST acknowledged that existing standards and technologies do not yet support all the proposed principles across the different environments in which AI agents operate.

Mandiant’s 2026 AI risk and resilience report documented a security assessment of a technology company operating a public-facing AI customer service agent.

The agent used retrieval-augmented generation (RAG) to answer customer queries using information from community forums, customer support tickets, and third-party data sources.

Despite security controls around the company’s vector database, Mandiant identified a potential vulnerability through which indirect prompt injection could expose sensitive information from other customers’ support tickets. The assessment did not establish that a data breach had occurred.

Mandiant recommended separating customer data through role-based access controls or tenant-isolated vector indexes, restricting tool permissions, and implementing data loss prevention controls to inspect generated responses for sensitive information before they reach users.

 

 

Want to learn more about AI and big data from industry leaders? Check out AI & Big Data Expo taking place in Amsterdam, California, and London. The comprehensive event is part of TechEx and is co-located with other leading technology events, click here for more information.

Tech Wire Asia is powered by TechForge Media. Explore other upcoming enterprise technology events and webinars here.