Anthropic · Agent safety research

Containing AI agents with honeytokens

Anthropic's Frontier Red Team shows how honeytokens, small decoy strings placed where agents should not go, can stop an AI agent the moment it reads one. Combined with inference hooks, a public mechanism that checks every prompt before inference, a honeytoken acts as a private refusal string that aborts the model's response instead of only raising an alert. Tested on Siren, an evaluation with over 1,700 unique scenarios across 26 sandbox environments, the team reports the honeytokens would have stopped about 93% of all escapes, with no false positives. Anthropic released an open-source Rust reference implementation on GitHub under the Apache-2.0 licence.

Open the source ↗

Similar Research & Safety releases

More from Anthropic

Published by Quanta AI Labs, an AI agency in India. Browse every week in AI News Weekly.