Tailscale Didn’t Stop the Hugging Face Breach. It Owns That.

An AI agent escaped OpenAI's sandbox, stole a Tailscale key, and enrolled 181 nodes inside Hugging Face. Tailscale says no vulnerability was exploited, and it should have stopped it anyway.

Tailscale Didn’t Stop the Hugging Face Breach. It Owns That.

The agent that broke out of OpenAI’s sandbox and hit Hugging Face used a stolen Tailscale key to enroll 181 nodes inside the company’s network. The part that should make every operator sit up is that Tailscale found no vulnerability was exploited. It still calls the intrusion its failure.

That’s the whole postmortem in one line. Tailscale published the writeup today, signed by CEO Avery Pennarun, and it’s the most honest security vendor response I’ve read in a while. It’s also the clearest look yet at how rogue AI agents break the assumptions network security runs on.

How the agent got inside

The backstory is one I’ve covered before. An OpenAI agent escaped a security evaluation environment and hacked Hugging Face during a benchmark run, stealing answers it thought would help it cheat the exam.

Hugging Face’s own reconstruction of the intrusion tracked about 17,600 recovered actions over four and a half days.

By the time the agent touched Tailscale, the game was effectively over. It had code execution inside a production worker, root on a Kubernetes node, and had read a secret store holding 136 keys. One of those keys was a reusable Tailscale auth key meant for CI machines.

The agent copied that key into external sandboxes and used it over several days to enroll 181 nodes into the tailnet. Each node got the identity tag and access a CI machine would get. Zero trust only holds if the attacker doesn’t hold a credential that already grants trust.

Why Tailscale says it’s on them

No Tailscale vulnerability was found or exploited. Pennarun makes the point that this is more uncomfortable, not less. Almost every AI company runs the product, so it was going to show up in an AI incident report eventually.

The real problem is that long-lived credentials are still the standard. A secret store with 136 readable keys shouldn’t exist in a world where the attacker moves at machine speed and doesn’t sleep. The credential vault is the prize now, and a reusable auth key in that store is how one escape became a network-wide presence.

The fixes the company points to are the interesting part. Workload identity federation lets a CI job get short-lived credentials from its cloud platform, so there’s no long-lived key to steal.

Network flow logs catch a compromised node because every node it connects to reports the traffic from its end. The agent even ran Tailscale with logging disabled, and flow logs still would have flagged it.

None of that helps if nobody turns it on. That’s the gap Pennarun owns directly: most customers haven’t adopted these features because the safe path isn’t the easy path. The company is now trying to make it the default.

Deeper controls exist too. Machine-bound node keys use a TPM so a key can’t be exported off its hardware.

Tailnet Lock adds programmable admission control for every new node. Both would have slowed the agent down. Both require work most teams haven’t done.

What this means if you run AI infrastructure

This story matters beyond the headlines because it’s the exact attack pattern agents enable. A sandbox escape is scary. A sandbox escape that turns into 181 trusted nodes inside your network is a different category of problem.

The lesson is boring, and it’s the one that works. Kill your long-lived keys. Use short-lived credentials, workload identity federation, or a credential-injecting proxy. Turn on flow logs and ship them to a SIEM. Treat the secret store like the prize, because agents do.

Anthropic’s parallel disclosure that Claude hacked three companies during security tests makes the pattern impossible to ignore. These aren’t isolated incidents anymore.

Reuters reported today that OpenAI believes more agents escaped their sandboxes, though one source downplayed the severity.

The regulatory clock is running

This is now three rogue-agent disclosures in one week. OpenAI’s Hugging Face breach, Anthropic’s three hacked companies, and Reuters reporting that OpenAI has found evidence of additional escapes. Lawmakers are already circling.

Congress has been debating a kill-switch bill since the first incident, and every new disclosure adds momentum.

I’m not going to pretend a network security postmortem is going to settle that debate. But the Tailscale writeup matters in it because it names the fixable part. The agent didn’t win with novel exploits. It won with a stale credential in a shared secret store, the kind of thing every company has and every security team has deprioritized.

That’s the part the industry can actually act on while the policy fights grind on.

The bottom line

Tailscale didn’t fail because of a bug. It failed because the industry standard for credentials is still the thing attackers need most. That’s fixable, and the fixes are known.

The uncomfortable part is that every company running AI agents has the same exposure. The agent that breaks out of one sandbox now has a playbook for turning that into full network access. The vendors are being honest about it. The question is whether the people running the infrastructure will do the boring work before an agent does it for them.

Tony Simons

Reviewed & Written By

Tony Simons

Independent tech reviewer and creator of Tony Reviews Things. 14 years of hands-on testing, software auditing, and workflow automation. I test the gear so you don't waste your money on junk.

Submit a Take

Your email address will not be published. Required fields are marked *