arXiv:2611.37500v1 Announce Type: cross
Abstract: To make LLM agents more reliable, tool developers often tell the agent what to do next in their error messages, for example by suggesting another tool. We show that this practice creates a security problem. In the three agent hosts we examined, a host-issued denial reaches the model as tool-result text, in the same form as a tool error and without a separate denial marker. When a recovery hint appears next to the denial, the agent can follow it, complete the denied action with another tool and tell the user that the task succeeded. This hint-induced authorization bypass needs no attacker, and every executed call is allowed on its own. In controlled experiments on 43 scenarios and nine models (23,056 runs), agents largely tell a denial from a fault without a hint, but one hint sentence raises the bypass rate of seven models from 3-30% to 46-100%, including on high-risk actions such as disabling multi-factor authentication. We reproduce the bypass in a real agent stack built on the OpenAI Agents SDK and the official MCP filesystem server. For denials that the host issues, the host can tell a denial from a fault, which the agent cannot always do, so we focus on host-side defenses. On four models, removing the hint only from denials lowers the high-risk bypass rate from 63% to 18% with recovery almost unchanged, and adding a memory of denied effects reduces it to zero in the tested scenarios while recovery stays at 82%, compared with 83% without a defense. A typed denial channel, prompt rules and a guard agent are less effective.
arxiv
Recovery Hints in Error Messages Enable Authorization Bypass in LLM Agents
A new study reveals that recovery hints in error messages can cause LLM agents to bypass authorization denials. In experiments across 43 scenarios and nine models, one hint sentence raised bypass rates from 3-30% to 46-100%, including high-risk actions like disabling multi-factor authentication. The authors propose host-side defenses, such as removing hints from denials and adding a memory of denied effects, which reduced bypass rates to zero in tested scenarios while maintaining recovery performance.
Identifies a concrete, exploitable security vulnerability in LLM agent tool-use patterns, with reproducible experiments and practical defenses.
Comments & Questions (0)
No comments yet
Be the first to comment!