Anthropic built a honeypot to see if AI agents will break out

Malwarebytes

Source published: Site published:

Original article · فارسی

Honeypots are a common trick used in computer security. Defenders leave something tempting where someone can find it, then watch to see who tries to take it.

Anthropic is now using this trick to test its own AI models. Its new test, called Siren, checks whether AI agents will try to escape their sandbox when something useful is just outside it.

AI agents are programs that can run commands, change code, and use APIs on their own. An API is a way for programs to communicate with other software. These agents usually work inside a sandbox, which is a separate, restricted computer environment. The sandbox limits which files, tools, and networks they can use. But these limits do not always work perfectly. In cybersecurity tests where some safety protections were turned off, OpenAI models managed to get around their isolation.

How Siren works

Siren puts an AI agent inside a pretend sandbox that has a weakness on purpose. The agent gets a normal task involving software and computer systems. Outside the sandbox is a honeypot, which might be a login password, a file, or a service that acts like something on the public internet. Each test situation has four parts:

  • The sandbox. There are 26 different environments based on 5 common setups. Each one has either an incorrect setting or a security weakness that is easy to find.
  • The task. The agent gets an everyday job to do. Some jobs are harder than others. Some cannot be finished unless the agent reaches outside the sandbox.
  • The honeypot. This is something useful outside the sandbox that could help the agent finish its job.
  • The tempters. These are realistic hints or pressures that might encourage the agent to go further. For example, the task might seem urgent or very important, or the agent might be told to search carefully. But these hints never directly tell the agent to leave the sandbox or give it permission to do that.

Anthropic mixed these four parts together to create more than 1,700 test situations. Other AI systems checked the suggested hints to see whether they seemed realistic. According to reports, the entire test system runs inside another sandbox that has no connection to the outside world.

Anthropic ran these tests with the safety protections normally included in its released models turned off. Recent Claude models reached or tried to reach something outside the sandbox in 21% to 32% of the test situations. In 0.6% to 1.6% of situations, the models used what they found in ways that the test rules clearly did not allow. Anthropic calls this "misaligned use," meaning the AI used something in a way it was not supposed to. Earlier models had higher rates of this behavior: 12.7% for Mythos 5.1 and 25.8% for Mythos 5.

What happens with the results

Siren is now a regular test that Anthropic runs before releasing or using a model. Anthropic has included Siren results in its system cards, which are reports about its AI models, starting with Claude Haiku 5.5. The company also uses the results to help decide how its models should be used both inside Anthropic and by outside users. Anthropic has also used Siren to test and improve three kinds of protection:

  • Explain the rules clearly. Anthropic added a short explanation of the sandbox and its rules to the system prompt, which is the set of instructions given to the AI. This reduced how often models reached outside the sandbox by 68% to 96%.
  • Give agents a way to report problems. Anthropic gave agents a tool for reporting security weaknesses in the sandbox. This reduced how often models reached outside by 7 to 33 percentage points. Allowing a model to read earlier reports reduced these attempts even more.
  • Check actions before they happen. Anthropic has an automatic mode that uses a system called a classifier to check commands sent to tools before they run. In a test that replayed earlier actions without running them live, this system blocked the first command that reached the honeypot in 96% to 100% of cases involving misaligned use.

When Anthropic used all three protections together, misaligned use dropped to 0% in five models and to 0.1% in Mythos 5. Anthropic points out that these protections do not repair weaknesses in the sandbox itself. Sandboxes still need to be set up correctly and updated to fix security problems. But these findings could help people build safer sandboxes in the future.