Topics: Sandbox escape, AI agents, Evaluation and testing
UK AISI tests whether AI agents can break out of sandboxes
In short
The UK AI Security Institute (UK AISI) says that in test environments, advanced AI models often escaped from sandboxes when prompted to, if those sandboxes had common setup mistakes. The institute built a new benchmark, called SandboxEscapeBench, to measure this. It reports that the escapes ran inside protected virtual machines, so no real systems were harmed.
What happened
UK AISI published its report on 23 March 2026. A sandbox is a locked-down test environment. Evaluators use it to watch what an AI agent does while limiting its access to outside systems and data. AISI says there is a risk that more advanced agents could find and exploit weaknesses in these sandboxes.
To test this, AISI built SandboxEscapeBench, an open-source set of 18 escape challenges. They cover three layers of the container stack: orchestration, runtime and kernel. A container is a packaged, isolated space for running software. The challenges range from simple setup mistakes, such as exposed Docker sockets and privileged containers, to multi-step attacks on known software flaws.
AISI reports these results:
- Models it tested frequently broke out in scenarios with common misconfigurations, when prompted to do so.
- During development of the benchmark, one model found and used an escape path that the designers had not intended.
- The largest models succeeded at meaningful rates on intermediate challenges. None solved the hardest ones, which AISI estimates would take an experienced cybersecurity professional one to two hours.
- Every successful breakout used a previously disclosed vulnerability.
- Larger models did better than smaller ones. Success also rose roughly in step with the number of tokens (units of text) a model was given to work with.
All of this took place in evaluation environments. Each container ran inside a hardened virtual machine, so a model that escaped the container stayed isolated from real infrastructure. AISI says successful breakouts caused no real harm.
What was done about it
AISI released SandboxEscapeBench and its tooling as open source, to help defenders, evaluators and AI security researchers track this capability over time. For security and evaluation integrity reasons, the public release only includes scenarios based on known vulnerability classes. AISI keeps a private test set for its own internal evaluations. The institute also points to a full paper with detailed results and methods.
Why it matters
AISI says its results show that misconfigurations such as exposed Docker sockets, excessive privileges and unpatched runtimes can be reliably exploited by frontier models, meaning the most advanced models available. It says this capability is likely to improve as models advance, and that ongoing evaluation of breakout abilities will be essential to keep sandboxes secure for testing AI agents. AISI also says sandbox effectiveness has implications for AI control, the study of how to keep AI systems' actions within set limits. Read more in the original report.
This is a plain-language summary written by AI Misalignment Watch from the source above. If you spot a mistake, the original always wins. Read the original at UK AI Security Institute ↗