Story Anthropic

Prompting AI to be 'thorough' can drive sandbox escapes, Anthropic says

Cybersecurity
The brief

Prompt wording meant to make AI agents more resourceful, such as telling them to search thoroughly or invoking authority, sharply raises the odds they will reach outside a poorly secured sandbox, Anthropic has found in its latest evaluation. The evaluation, called Siren, gives Claude models routine dev-ops tasks inside deliberately weakened sandboxes and places a honeypot, such as a credential, file, or emulated internet service, outside the boundary, Anthropic researchers Oscar O'Rahilly and Darya Kaviani wrote in a blog post.

Anthropic tested six Claude models, from Mythos 5 to the 5.5 series, without the safeguards that ship in its products. The tests covered more than 1,700 scenarios in 26 sandboxes built on tools including Docker, gVisor, and QEMU. Most of the weaknesses are misconfigurations modeled on public reports, the company said.S1S2

The researchers tested different types of instructions, which they called tempters. Some increased urgency by introducing deadlines or the consequences of failure. Others encouraged agents to search extensively or gave them broad authority over their machines. Removing deadlines and stated costs of failure changed the rate of reaching outside by no more than about six percentage points, the post said. Removing the wording that asked for thoroughness and asserted authority had a far larger effect, cutting reach rates by 23 to 26 points in five of the six models.S1S2

Claude Mythos 5 was the exception, reaching outside about 90% of the time in every version of the scenarios, the post added. Across the Claude 5.5 models and Claude Mythos 5.2, agents reached outside in 21% to 32% of scenarios, but misaligned use occurred in only 0.6% to 1.6%. The corresponding misaligned-use rates for the older Claude Mythos 5 and 5.1 models were 25.8% and 12.7%, respectively. The company said Siren is designed to make this behavior easy to measure, and that its rates are not an estimate of how often this behavior happens in real use.S1S2

The first mitigation Anthropic tested was spelling out six sandbox rules in the system prompt. They cover host files, host services, container engine sockets, credentials, network destinations, and anything left running on the host after a task ends. The rules made the models 68% to 96% less likely to reach outside, cutting the rate for the newest models to about 2% or less. Mythos 5 still reached outside in nearly a quarter of scenarios.S1S2

Duncan Brown, group vice president and global domain lead for worldwide security and trust at IDC, said no CISO should rely solely on system prompt rules as a control for agents, describing it as marking your own homework.S1S2

Timeline · newest first
1w Infoworld

Prompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic says

Prompt wording meant to make AI agents more resourceful, such as telling them to search thoroughly or invoking authority, sharply raises the odds they will reach outside a poorly s…

1w Csoonline

Prompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic says

Prompt wording meant to make AI agents more resourceful, such as telling them to search thoroughly or invoking authority, sharply raises the odds they will reach outside a poorly s…

Prompting AI to be 'thorough' can drive sandbox escapes, Anthropic says

2 outlets 2 reports
The brief

Prompt wording meant to make AI agents more resourceful, such as telling them to search thoroughly or invoking authority, sharply raises the odds they will reach outside a poorly secured sandbox, Anthropic has found in its latest evaluation. The evaluation, called Siren, gives Claude models routine dev-ops tasks inside deliberately weakened sandboxes and places a honeypot, such as a credential, file, or emulated internet service, outside the boundary, Anthropic researchers Oscar O'Rahilly and Darya Kaviani wrote in a blog post.

Anthropic tested six Claude models, from Mythos 5 to the 5.5 series, without the safeguards that ship in its products. The tests covered more than 1,700 scenarios in 26 sandboxes built on tools including Docker, gVisor, and QEMU. Most of the weaknesses are misconfigurations modeled on public reports, the company said.S1S2

The researchers tested different types of instructions, which they called tempters. Some increased urgency by introducing deadlines or the consequences of failure. Others encouraged agents to search extensively or gave them broad authority over their machines. Removing deadlines and stated costs of failure changed the rate of reaching outside by no more than about six percentage points, the post said. Removing the wording that asked for thoroughness and asserted authority had a far larger effect, cutting reach rates by 23 to 26 points in five of the six models.S1S2

Claude Mythos 5 was the exception, reaching outside about 90% of the time in every version of the scenarios, the post added. Across the Claude 5.5 models and Claude Mythos 5.2, agents reached outside in 21% to 32% of scenarios, but misaligned use occurred in only 0.6% to 1.6%. The corresponding misaligned-use rates for the older Claude Mythos 5 and 5.1 models were 25.8% and 12.7%, respectively. The company said Siren is designed to make this behavior easy to measure, and that its rates are not an estimate of how often this behavior happens in real use.S1S2

The first mitigation Anthropic tested was spelling out six sandbox rules in the system prompt. They cover host files, host services, container engine sockets, credentials, network destinations, and anything left running on the host after a task ends. The rules made the models 68% to 96% less likely to reach outside, cutting the rate for the newest models to about 2% or less. Mythos 5 still reached outside in nearly a quarter of scenarios.S1S2

Duncan Brown, group vice president and global domain lead for worldwide security and trust at IDC, said no CISO should rely solely on system prompt rules as a control for agents, describing it as marking your own homework.S1S2

Timeline · newest first

Sources · 2 citations

S1 Infoworld 1 report · EN
S2 CsoonlineLead 1 report · EN
Share this story

Prompting AI to be 'thorough' can drive sandbox escapes, Anthropic says