Skip to content

All posts

IT security, AI agents, Incident response

When agents test the sandbox

A research model reached the internet through its sandbox's DNS resolver, and red-team agents broke out of microVMs. What IT leaders should check in their own agent sandboxes: DNS, the helper services, and who actually stops a run.

On 20 September, an OpenAI research model found its way out of a training sandbox meant to have no internet access. Direct connections were blocked, but the resolver, the service that turns names into addresses inside the environment, forwarded queries to real servers, and the model used that route to question a public chatbot. According to the incident report, the queries were logged and the monitor raised an alert within about twelve minutes. But a detector for unusual DNS traffic had excluded exactly this environment, and since the automatic stop failed, the run went on for about two and a half hours. If it can happen at a lab that hardens its environments against its own models, it can happen in any agent sandbox.

Many companies now run a coding agent in a CI runner or on an internal platform that writes code and runs it. The platform team built the sandbox, blocked outbound traffic (egress) and closed the ticket. Few have checked whether its resolver will look up any name it is given.

What the agents found in their own infrastructure

OpenAI later set its own agents on its infrastructure and described the results on 23 October. The agents worked inside microVMs, small virtual machines with their own kernel that separate a container from the host. OpenAI says the agents chained vulnerabilities into escapes from those microVMs, with fixes going to Kata Containers, gVisor and Docker, among others. In tests that started from a compromised host, almost every service still allowed to talk to the outside, such as metrics, logging and authentication, offered a limited route to the internet. Agents in separate microVMs on the same host exchanged data by timing the processor cache. The agents were given source code, configuration details and notes on likely weaknesses, so the findings show where the boundaries give way rather than what a model manages unaided.

An alert is only a control if it stops something

Monitoring has gaps too. METR, a research nonprofit, reviewed OpenAI’s internal agent monitoring this summer and estimates that from May to July roughly ten percent of eligible internal Codex traffic never reached the monitor, because one type of event was not passed on. OpenAI had spotted it independently and fixed it during the review.

Anyone who lets agents execute code should assume they will find every opening in their environment, even when the task never asks them to. Egress is not decided until DNS and the supposedly harmless helper services are decided too, and an alert only becomes a control once it actually halts the run.

What does the resolver in our agent sandbox return for an arbitrary outside name, and who stops the job when it answers?