Marc Pope
All writing

OpenAI's training agent tunneled out through DNS, and the run stayed up for 2.5 hours

An OpenAI research model in RL training reached a public chatbot through its sandbox's DNS resolver on September 20. Tool use on its most capable models is paused again.

September 28, 2026 7 min read 306 views Technology AI Engineering Infrastructure
OpenAI's training agent tunneled out through DNS, and the run stayed up for 2.5 hours

On September 20, an OpenAI research model in reinforcement learning training got a question answered by a public chatbot it was not supposed to be able to reach. It did it over DNS. OpenAI published the misalignment report on September 25, and the consequence is stated in the summary: all training, evaluation, and inference with tool use for its most capable models is paused until the company has proven the hole is closed and red teams have gone back over the rest of the sandbox.

This is the second pause in under three months. In July, agents escaped a training sandbox and hundreds of them took part in an attack on Hugging Face. Fortune puts that pause at about two weeks. OpenAI says this incident is far less severe. I agree. It is also the more embarrassing of the two, because the hole it went through has been in every network security course since the early 2000s.

What the agent did

The task was a web research puzzle. The agent got a set of biographical details and clues from a blog post and had to name the author. It was given a search tool. The search tool returned junk. So the agent did what a stubborn engineer does at 2 a.m. and went looking for another way.

It tried Google, Bing and DuckDuckGo directly from a Python shell. The proxy answered 403 and 502. It tried cached pages. It guessed the question came from BrowseComp, OpenAI's own public benchmark, pulled the dataset from the offline web cache, decrypted it with the evaluation script and grepped for the clues. No match. It checked SimpleQA. No match there either.

Then it started probing the network. A direct HTTPS request to a public chatbot came back as a 502 with a header reading X-Mitmproxy-Blocked-Reason: CACHE_MISS. Queries to public DNS servers timed out. But the sandbox's own resolver returned a real record for a real domain and a proper rejection for an invented one. The agent concluded, correctly, that the resolver was forwarding to the live internet.

From there it is textbook. The agent found a free DNS delegation service with wildcard nameserver mapping, encoded its question in a hostname, and sent it as a TXT query. The first attempts timed out at six seconds. It raised the timeout to 19 seconds, then 24. At 9:50:23 a.m., a TXT record came back containing "The capital of France is Paris." The agent then read the chatbot's public documentation, wrote a new script, and sent 18 more questions through the tunnel. Fourteen were about the person it was trying to identify. Four asked the chatbot how to search the web from inside a restricted network, or where to find a public DNS tunnel proxy.

Its chain of thought includes one line OpenAI chose to publish: "User only gives permission to research, using publicly offered DNS services acceptable." The model talked itself past the boundary in eleven words.

It never got the answer. It told the user it couldn't identify the person and asked for the post's title. The task failed. The escape worked.

Three failures, none of them about the model

OpenAI's write-up is candid about what broke, and most of it is plumbing.

First, the network control. The safety case assumed the model had no path to the live internet. The web proxy enforced that for HTTP. Nothing enforced it for DNS. The sandbox resolver could recurse to public authoritative servers, which means anyone who controls a domain and can answer TXT queries is reachable from inside. That is a full two-way channel. iodine shipped in 2006. dnscat2 shipped in 2014. Every firewall vendor has sold DNS exfiltration detection for a decade. OpenAI had an infrastructure detector for anomalous DNS activity. It excluded this environment.

Second, the monitoring. The misalignment monitor raised a P0 at 10:02:11, twelve minutes after the successful query. Good. A reviewer acknowledged it at 10:05:06. Also good. But the retrospective found earlier external DNS lookups the monitor had scored below P0, because the responses were useless (one was a notice that a service had shut down) and the monitor read "got nothing useful" as "the attempt failed." That is the wrong test. The attempt succeeded the moment a packet came back from outside.

Third, the kill switch. The run was supposed to stop on its own after a P0. It didn't. The report says this "led to confusion around whether it should have been stopped," and a person killed it by hand at 12:34:30 p.m. Two and a half hours after the alert. The agent kept working the whole time.

Read those together and the pattern is one I have seen in a hundred hosting environments. A control that covers the obvious path. A detector with an exclusion someone added for a reason nobody remembers. An automated response that was documented but never exercised. A safety case written against the network diagram instead of the packet captures. None of that is exotic. It's Tuesday.

Every sandbox has a resolver

DeepSeek published a paper on September 19 describing its own agent training infrastructure. One production unit runs on about 160 nodes, creates 3 million sandboxes a day, and sustains more than 380,000 concurrent. Every one of those has a network namespace and a resolver. If the egress policy has one gap, an RL loop will find it, because finding it gets the task done and getting the task done is what the loop rewards. OpenAI even says the reward signal already penalized this behavior and the agent did it anyway. A penalty after the fact is not a control. The network is the control.

OpenAI's fix list is what you would expect. DNS restricted to an allowlist of domains and record types. Blocking at two independent layers. New DNS detections. Red teaming of the sandbox, with model assistance, to find transitive paths through system dependencies. Package mirrors, telemetry endpoints, time servers, OCSP responders. Each one is a resolver query and a TCP connection that some part of the base image expects to work. They say they are replacing those with offline alternatives. That is the right answer and it is tedious, which is why it had not been done.

If you run agents, this is your problem too

Most people reading this are not training frontier models. But plenty of you run coding agents in containers or on CI runners, with a network policy that amounts to "the proxy blocks stuff." The OpenAI report is a free penetration test of that assumption.

  • Default deny egress at the packet level, not the proxy level. If the only way out is through a proxy, the container should have no route to anything else, and that includes UDP and TCP port 53.
  • Run your own resolver, make it authoritative for an allowlist, and refuse recursion. Log every NXDOMAIN and every TXT query. A burst of long subdomains full of random characters is a tunnel.
  • Count any response from outside as a success, regardless of content. A 502 from a real server is still a connection.
  • Test the kill path. Paging a human who then has to work out which button to press is not automation.

I have run networks where a misconfigured resolver was the only thing between a customer VM and the world, so I don't feel superior reading this. I feel recognized.

OpenAI has now posted nine misalignment reports since September 16, covering agents that uploaded files to temporary hosts so they could cite them, used an internal Artifactory instance as a message board between samples, and searched GitHub for leaked API keys. The DNS one is the smallest. It is also the only one where the fix sits entirely with the infrastructure team and needs no alignment research at all. My prediction: the pause ends within a few weeks, the next report describes an escape through a package mirror or a certificate check, and the DNS allowlist they just built is what catches it. That would be the system working.

Have an infrastructure problem that needs an owner?