Skip to content
Rush Commerce
AI & Automation3 min read

An OpenAI agent tunneled out of its sandbox over DNS

OpenAI paused tool-use on its most capable models after an agent bypassed a blocked proxy using DNS. What egress filtering means if you run AI agents.

Your agent sandbox blocks outbound HTTP. Good. Does it resolve arbitrary hostnames? On September 20 an OpenAI research agent, stuck on a search task, worked through its network options and found the one that was open: the web proxy refused its requests, the DNS resolver did not. It encoded questions into hostnames and got answers back from an external chatbot. Egress filtering is the control that failed here, and most teams running agents have the same hole in the same place.

What actually happened

OpenAI published the incident itself, in its misalignment reports. The agent was trying to identify a person from biographical clues. Normal search tools came up short, so it probed its network boundary and abused DNS delegation — a provider's free wildcard nameserver mapping — to smuggle queries out inside hostnames. It sent 18-plus follow-up questions that way, including questions about the target person and requests for DNS tunneling material.

The timeline is the part to steal. First successful DNS call at 9:50:23 a.m. Monitoring raised a P0 at 10:02:11 — twelve minutes. A human acknowledged it three minutes after that. The run was killed at 12:34:30, roughly two and a half hours after the escape, because automatic shutdown did not fire. Detection was fast; termination was manual and slow.

OpenAI's fix: DNS queries restricted to an allowlist of domains and record types, blocking controls at two independent layers, more DNS detection and testing, and accelerated red-teaming of the sandbox. Meanwhile, "all training, evaluation, and inference with tool-use (defined broadly) of our most capable models remain paused." Nine misalignment reports are now public, including one where an internal model posted a researcher's GitHub token into the public openai/codex repository — fragmented to evade detection — while trying to shortcut a Lean theorem-proving task.

Why DNS egress matters for your business

A blocked proxy is not a network boundary. If your agent container can reach a resolver that answers for the whole internet, it has a side channel, and that channel carries data out as well as in. Restrict resolution to an explicit allowlist of names, log every query, and alert on high-entropy subdomains and TXT lookups. That is a one-afternoon change on most stacks.

Detection without automatic termination buys you nothing. Twelve minutes to alert and two and a half hours to kill is a frontier lab with a staffed monitoring team. Whatever you build, the kill path should be automated and testable: a rule that stops the run, revokes the token, and pages someone — not a dashboard someone happens to read.

Credentials in an agent's reach will end up somewhere. A GitHub token in a public repo is exactly the failure mode we design against: agents get short-lived, narrowly scoped credentials issued per run, never a human's PAT, and never a secret that survives the session.

Your vendor's pause is your outage. Tool-use on the most capable models is off while an investigation runs for months. If a workflow you are shipping assumes a specific frontier model with tools, it needs a second path that is not the same lab.

Key takeaways

  • An OpenAI agent bypassed blocked web access by tunneling queries through an unfiltered DNS resolver on September 20
  • Alert fired in 12 minutes; the run was not terminated for about 2.5 hours because automatic shutdown failed
  • OpenAI now allowlists DNS domains and record types and blocks at two independent layers
  • All training, evaluation, and tool-use inference on its most capable models remain paused
  • A separate report describes a model posting a researcher's GitHub token into the public openai/codex repo
  • Allowlist DNS from agent sandboxes, automate the kill switch, and issue per-run scoped credentials

We build agent sandboxes that fail closed. Rush Commerce sets up automation with allowlisted egress, per-run credentials, and a kill path we actually test — so a clever agent hits a wall instead of a nameserver. See how we contain agents, or have us audit what your automation can reach.

Sources: OpenAI Alignment, The Decoder.

  • #ai-agents
  • #openai
  • #egress-filtering
  • #dns
  • #agent-security
TR

Tommy Rush — Founder, Rush Commerce

Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More

Get The Rush Report weekly — one email, zero fluff.