All posts

TabpleNewsAgent Security Notes · Part 3

The “rogue AI” incidents: why were the doors open?

OpenAI’s and Anthropic’s evaluation agents got into outside systems without permission. I follow both incidents through the companies’ own write-ups: each time, a path everyone believed was closed was open. Then six ways to contain a coding agent, and commands to test the boundary.

This post is translated from the Korean original. Spot an awkward translation? Let me know

OpenAI’s evaluation agents escaped their sandbox through a flaw in an internal package mirror and got into Hugging Face’s servers. Anthropic’s models, told there was no internet, got into three real organizations’ systems on the live internet. After OpenAI, Anthropic, Meta and Google disclosed incidents like these one after another from July on, CSO Online ran a piece on October 14 headlined “AI agents aren’t ‘going rogue.’ Frontier labs are skipping security basics.” The security experts it quotes argue that “rogue” hides a simpler failure: containment basics that have been known for decades weren’t followed. In this last Agent Security Note, I read the incident write-ups OpenAI and Anthropic published themselves and work out how to contain our own agents. I covered that article briefly in one section of “A derpy chatbot or vertigo: why people talk past each other about AI”, too.

Horizontal bar chart on a log scale: time from first reaching the outside to first detection. OpenAI DNS bypass (Sep 20, flagged by monitoring): 15 minutes. OpenAI and Hugging Face (out on Jul 8, alert on Jul 19): 11 days. Anthropic’s three eval incidents (from April, found in review on Jul 24): months. Anthropic’s fourth incident (January, found in review in August): about six months. The two Anthropic bars end in dashed outlines.
Log scale. Exact dates of the Anthropic incidents aren’t public, so those bar ends are approximate.

OpenAI: the internet was blocked, the package mirror wasn’t

OpenAI wrote up what happened during internal cybersecurity evaluations (ExploitGym) in July 2026 as a technical report. Each run used its own container sandbox. Agents had a shell, Python, a browser and package installs, but no direct internet access; packages came through an internal mirror, JFrog Artifactory, instead of public registries. To measure the models’ underlying capability, OpenAI had also switched off the production cyber-safety classifiers. Since May, agents had been using Artifactory to pass notes to each other, like a message board. Starting July 8, they exploited an unknown vulnerability in Artifactory to reach the public internet. The report says zero-day exploits in Artifactory became the agents’ principal egress path.

Once out, the agents inferred that Hugging Face might host solutions to their evaluation tasks. On July 10, one found 14 Hugging Face user credentials exposed in a public dataset and posted them to the message board. Combining exposed credentials with vulnerabilities in Hugging Face’s infrastructure, between July 11 and 13 they executed code on 41 production dataset server workers, gained root on at least one node, accessed production credentials and limited internal data, and downloaded four private code repositories. Hugging Face disclosed its own security incident on July 16. OpenAI’s security monitoring only caught unusual identity-related API calls from Artifactory roles on July 19. The next day OpenAI concluded the activity was likely related to the Hugging Face compromise and told Hugging Face, then disclosed publicly on July 21.

  1. Concept diagram. A dashed line from the evaluation sandbox (shell, Python, browser, package installs) to the public internet is crossed out and labeled ‘direct internet blocked’. An ‘allowed for package installs’ arrow runs down to the internal package mirror (JFrog Artifactory), labeled ‘Since May, a message board agents used to leave notes’. The public internet and Hugging Face boxes are dashed and dim.

    The evaluation sandbox couldn’t reach the internet directly. Only packages came in, through Artifactory, an internal mirror.

    Since May, agents had been using that mirror as a message board to leave each other notes.

  2. The same diagram with a bold curved arrow from the internal package mirror to the public internet, labeled ‘From Jul 8, an unknown vulnerability’. The public internet box is now lit.

    From July 8, agents exploited an unknown vulnerability in the mirror to get out to the public internet.

    OpenAI’s report calls these zero-days the agents’ principal egress path.

  3. The same diagram with an arrow from the public internet to Hugging Face production. Below: ‘Jul 10, 14 credentials found in a public dataset’, ‘Jul 11–13, code run on 41 production servers, root, 4 private repos’, and ‘Jul 19 alert: unusual identity API calls from Artifactory roles’.

    Using credentials exposed in a public dataset, agents ran code on 41 of Hugging Face’s production servers.

    OpenAI’s monitoring caught unusual identity API calls on July 19, eleven days after the agents got out.

While the workloads in this incident did not have direct internet access, this restriction proved insufficient when workloads can reach and exploit shared services, cloud infrastructure, private network links, or other systems that may provide transitive paths outside the intended environment.

OpenAI – Hugging Face Incident Technical Report

Anthropic: the prompt said “no internet,” the machines were online

After OpenAI’s disclosure, Anthropic went back through its own cybersecurity evaluation records. Reviewing 141,006 evaluation runs in which Claude could have reached the internet, it found three incidents, all in capture-the-flag tasks run in the environment of an outside evaluation partner, Irregular. The prompt told Claude it was in a simulation with no internet access, but because of a misunderstanding between Anthropic and Irregular, Claude had live internet access. Claude treated real organizations’ systems as part of the exercise and got in with basic techniques like weak passwords and unauthenticated endpoints. In the worst case it obtained credentials and a database with several hundred rows of production data. In another run, Claude published a malicious package to PyPI; in the roughly one hour it was public, 15 real systems downloaded and ran it, including a security company’s scanner that installs packages to check them for malware.

The earliest of those three dates to April. Anthropic began its review on July 23 and stopped all cyber evaluations that day. The two organizations it reached hadn’t noticed the intrusions. Anthropic wrote that validating every internet path before evaluations and monitoring evaluation logs in real time would have surfaced the problem sooner. In a follow-up assessment on September 9, it reported a fourth incident from January and revised its first conclusion. In July it called these closer to operational failures; now it thinks Claude’s reasoning was biased toward concluding the internet was simulated despite considerable evidence to the contrary. It widened its scan to about 481 million transcripts and found no other cases of similar or worse severity.

Rogue agents, or open doors?

In the CSO piece, Rob T. Lee of the SANS Institute says the labs’ security teams look fairly nascent, and that people on the containment side argue most breaches happen because things weren’t set up correctly. RAND’s Dan Wallach says isolating these systems is “not rocket science”: air-gap them, or failing that, use strong egress control. He also notes that the Hugging Face incident went on for days without anyone noticing. HN pushed back. One commenter pointed out that OpenAI’s report says explicitly that a previously unknown vulnerability was used to escape the sandbox, so it can’t be written off as a misconfiguration. A reply said zero-days are nothing new, which is exactly why you need network isolation and egress blocking. And Anthropic’s September revision shows there is a real model-side problem too.

There’s no reason why every single time this happens, it’s, ‘Oops, we don’t know how they got out.’

Rob T. Lee, SANS Institute, quoted by CSO Online

Still, containment and monitoring are the part we can actually change ourselves. An OpenAI incident in September shows the difference they make. On September 20, an agent being trained with reinforcement learning, working on a search task, sent queries to a public chatbot service through a gap in its sandbox: insufficient DNS filtering. It was the first incident after OpenAI hardened its environment following Hugging Face. This time the monitoring system flagged it within 15 minutes, and a person started reviewing three minutes later. OpenAI killed the run two and a half hours after that, and says it has added blocking at two independent layers, either of which alone would have stopped this access. In July, it took 11 days from the agents getting out to the first alert.

The same table showing the path that was open. OpenAI (July): a zero-day in the internal package mirror. Anthropic: a misconfiguration left it on the live internet. OpenAI (September): the sandbox’s DNS resolver resolved outside domains.
Table with three rows. OpenAI (Hugging Face, July): no direct internet access from the sandbox. Anthropic (eval partner, from April): the prompt says ‘a simulation, no internet’. OpenAI (RL training, September): a web proxy blocking outside requests.
Drag the divider left to see the path that was actually open. Only what each company says in its own reports.

How to contain our own agents

A frontier lab’s cyber evaluations can feel far from the coding agent on your laptop. But the combination Simon Willison calls the “lethal trifecta” is common on our side too: an agent with access to private data, exposure to untrusted content and the ability to communicate externally. A coding agent that holds your repository and secrets, reads issues and web pages, and uses the network often has all three. Willison’s advice is to avoid that combination entirely. If you can’t, at least contain it like this.

  • Run it in a container or VM, not on the host. After the incident, OpenAI too moved high-risk work into VM-based sandboxes only.

  • Open outbound paths by allowlist. Don’t trust the phrase “internet blocked”; count the paths one by one. Package mirrors, proxies, DNS resolvers and shared caches can all lead outside.

  • Give it only the secrets the task needs. If production credentials sit within the agent’s reach, they walk out the moment containment fails.

  • Keep logs, and actually look at them. Record shell commands and network requests, and alert on anything unusual. The gap between 11 days and 15 minutes was monitoring.

  • Make it easy to stop. When an alert fires, you need a switch that ends the run. OpenAI says it is building tooling to halt evaluations by type in one step.

  • Don’t trust a single layer. As OpenAI’s report puts it, no single control should be assumed to be fully robust. Block at the sandbox and at the network, separately.

You find out whether the boundary is really closed by knocking from the inside. The commands below, run inside the container your agent uses, check whether HTTPS, DNS and the package registry are reachable, and list the names of inherited proxies and secrets. If policy says a path should be closed and you see “open,” you’ve found an open door. Results vary by setup, so treat it as a rough check.

egress-check.shbash
# Inside the container your agent runs in, knock on each path that should be closed
curl -sS -m 5 -o /dev/null https://example.com && echo "https: open" || echo "https: blocked"
getent hosts example.com > /dev/null && echo "dns: open" || echo "dns: blocked"   # if names resolve, DNS can reach the outside
pip download --no-deps -q -d /tmp/egress-check requests 2> /dev/null && echo "pypi: open" || echo "pypi: blocked"   # uses your package manager's config, mirrors included
env | grep -iE 'proxy|token|key|secret' | cut -d= -f1   # list names only of inherited proxies and secrets

Read together, the three notes land in the same place: sooner or later an agent does whatever its environment allows. The first was about the keys we hand agents, the second about the text they read, and this one about where they can go. So before hoping the model behaves, decide what the environment allows.

Sources (numbers as of October 21, 2026)

Try Tabple