EN AR

Anthropic says honeytokens would have blocked 93% of agent escapes

Tamara khadrah

Key Points

  1. Anthropic published research on honeytokens, decoy strings that halt a model's response when read
  2. In replayed tests, 1,209 of 1,294 escape attempts would have been stopped, Anthropic said
  3. Companies running agents on their own servers get an open-source tool to contain them

The latest:

Decoy text strings planted in an agent’s environment would have stopped 93% of attempted escapes before the model ever saw a secret, Anthropic said in research published on 3 December 2026. The company released an open-source implementation alongside the paper, titled Containing AI agents with honeytokens. Of 1,294 escape attempts replayed against the tokens, 1,112 would have been caught before the model reached the secret.

Details:

  • The mechanism: Honeytokens are text strings seeded into the environment an agent operates in, Anthropic said. Detecting one terminates the model’s response. The company recommends tokens of no fewer than eight characters, and uses them with inference hooks in Claude Enterprise.
  • The tool: Anthropic published an open-source implementation written in Rust at github.com/anthropics/honeytokens. According to the company, it processes up to hundreds of megabytes of request data per second per core, putting it within range of production traffic rather than lab-scale testing.
  • The test set: The evaluation used Siren, which Anthropic said contains more than 1,700 unique scenarios built from over 200 ordinary DevOps tasks across 26 realistic isolated test environments. Escape attempts were replayed against the honeytokens rather than run live.
  • The headline number: Across 1,753 sessions, the agent did not escape in 459 and escaped in 1,294, according to Anthropic. Of those 1,294 attempts, 1,209 — 93% — would have been stopped by the tokens.
  • Breaking down the catches: Of the 1,209 blocked attempts, Anthropic said 1,112 would have been halted before the model saw the secret, 86 involved cases where the model never saw the secret at all, and 11 would have been stopped only after it had already been seen.
  • Where it failed: Anthropic attributed 54 attempts, or 4%, to limits of the tool itself: 33 cases where the agent already knew its target or ran a script without exploring, and 21 where exploration simply never touched a token.
  • Experimental noise: A further 31 attempts, 2%, were traced to the experiment’s own setup, the company said — 20 with no location available to plant a token, and 11 where the agent escaped without completing its objective or touching a token.
  • False positives: Anthropic reported no false alarms in the 459 sessions where the agent did not attempt to escape, a figure that matters for deployment: a containment layer that fires on normal DevOps work would be unusable in production.

Between the lines:

The failure categories point to the method’s boundary. Honeytokens work on agents that explore an environment, which is why the 33 cases of an agent going straight to a known target or running a prepared script escaped detection. The approach catches reconnaissance, not an agent that already knows where it is going.

What’s next

Whether outside researchers reproduce the 93% figure against live agents rather than replayed sessions, and whether the Rust implementation sees adoption beyond Claude Enterprise, are the next signals.

What to read next