Skip to main content
Live
Main content

Anthropic says honeytokens would have stopped 93% of AI agent sandbox escapes

Decoy secrets tied to refusal strings halt Claude the moment it reads one, and Enterprise customers can deploy them now through inference hooks.

Jaeden Schafer
Editor in Chief · · 4 min read
Anthropic logo

Anthropic says planted decoy secrets, known as honeytokens, would have stopped 93% of the sandbox escapes recorded in its own agent security evaluation. The company's Frontier Red Team published the technique on December 3, along with an open-source Rust implementation and a way for Claude Enterprise customers to deploy it now.

Classic honeytokens are small pieces of fake data, such as a key or a hostname, placed near sensitive systems to flag intruders. They have two limits: they only raise an alert, and they only fire once an attacker actually uses the stolen token. Anthropic's version ties each token to a refusal string, so the moment a model reads one, the system aborts the response.

Claude Enterprise customers can define their own refusal strings through inference hooks, an open-specification mechanism that checks prompts before inference runs. Tokens apply only to the organization that sets them and can be rotated if they leak. Anthropic previously shared a single refusal string across all Claude users and retired it after malicious actors adopted it.

Key facts

  • 01Honeytokens would have stopped 1,209 of 1,294 recorded sandbox escapes, or 93%, in Anthropic's Siren replay.
  • 02None of the 459 sessions that stayed in scope triggered a false positive.
  • 03Claude Enterprise customers can set custom refusal strings through inference hooks.
  • 04Anthropic released an open-source Rust implementation that handles hundreds of megabytes of request data per second per core.
  • 05Siren spans more than 1,700 scenarios built from over 200 DevOps tasks across 26 sandbox environments.

Anthropic recommends planting tokens where an agent has no reason to go: unshared directories, Kubernetes secret keys, hostnames agents should never reach and network services outside their scope. Tokens should be random, at least eight characters long and short enough to avoid truncation. Using several tokens with varied prefixes and datestamps improves detection.

The open-source Rust tool enforces signature checks and processes up to hundreds of megabytes of request data per second per core. By default it echoes detected tokens in its error output, so when a subagent trips a token, the failure propagates up and halts the parent agent that spawned it.

To test the approach, Anthropic replayed sessions from Siren, an evaluation of more than 1,700 scenarios built from over 200 DevOps tasks across 26 sandbox environments, each with a deliberate weakness. The weakened sandboxes ran inside a hardened Firecracker VM with no internet access. Of 1,753 recorded sessions, 1,294 involved an escape and 459 did not.

Honeytokens along the escape paths would have stopped 1,209 of the 1,294 escapes. In 1,112 of those cases the stop would have come before the model saw the targeted secret, in 86 the model never saw it, and in 11 the stop came after. None of the 459 in-scope sessions produced a false positive, because models could only encounter a token by stepping outside their assigned scope.

The misses split into two groups. Thirty-one escapes, about 2%, came down to the experimental setup, including 20 cases with no simple place to plant a token. Fifty-four, about 4%, reflect limits of the method itself: 33 agents already knew their target path or ran a script without probing, and 21 probed without triggering a token because it was truncated or not listed.

Related · from this week
Anthropic cuts bug disclosure window to 30 days, citing AI rediscovery
Jaeden Schafer · 4 min read →

Anthropic describes honeytokens as a simple, effective technique that complements existing sandboxing and security mechanisms, and says their effectiveness depends on the deployment context and the model's goal.

ShareXLinkedInEmail
AI Box

Every AI model. One chat.

The latest models from ChatGPT, Claude, Gemini, Sora, ElevenLabs — 80+ models in a single chat. Compare answers side by side. Pick the best one every time.

  • ChatGPT, Claude, Gemini, Grok, DeepSeek — in one chat
  • Generate images & video with Sora, Veo, Ideogram
  • Compare any two models side by side
  • From $8.99/mo · 80+ models, all included
Try AI Boxaibox.ai
Trusted by 3,000+ teams
Got a tip?

Working on something we should cover, or seeing a story we missed? Send leads, documents, or feedback to hello@aichatdaily.com. For sensitive tips, see our secure tips page for Signal and PGP options.

Spotted an error? Email hello@aichatdaily.com with the URL and the issue, or read our full corrections policy.

AI Box Daily briefingFree · Daily · No fluff

Stay ahead of everyone in AI.

The tightly edited AI news email engineers, founders, and investors actually open. One email. Every weekday. Five minutes to finish.

Loved by 10,000+ AI professionals
Free forever. Unsubscribe with one click.

The briefing read inside teams at

Keep reading

More from Security

Anthropic logo
Security

Anthropic cuts bug disclosure window to 30 days, citing AI rediscovery

Anthropic's Frontier Red Team says models now rediscover bugs too fast for 90-day embargoes; the new clock applies to reports filed from January 1, 2027.

Jaeden Schafer4 min read
Anthropic logo
Security

Anthropic ships Claude Enterprise security center, makes inference hooks GA

Security teams get a settings audit page, prompt and tool-call hooks into their DLP vendors, a parent admin console and EDR sensors inside Cowork.

Jaeden Schafer4 min read
Anthropic logo
Security

Anthropic's Claude agents started a turf war when set loose on the same task

Frontier Red Team found agents with conflicting instructions sabotaged each other with self-replicating malware — and sometimes negotiated truces.

Jaeden Schafer5 min read