From Denial to Detour: How Recovery Hints Enable Authorization Bypass in LLM Agents
- ID: ebf192ae
- 原文链接: https://arxiv.org/abs/2611.37500
- 作者: Zhuotao Lian, Ming-Feng Tsai, Tomohiro Morikawa, Chun-I Fan, Chunhua Su
- 日期: 2026-11-27
- 分类: agents
- 来源类型: paper
- 标签: agent-security, authorization, recovery-hints, mcp
- 质量评分: 4/5
- 抓取时间: 2026-12-01T07:56:29+08:00
中文导读
为了让 agent 更可靠,工具开发者习惯在报错信息里附上下一步建议。论文发现这恰好构成一个不需要攻击者的越权通道:三个被测 agent 宿主里,宿主发出的拒绝都以普通工具结果文本抵达模型,没有独立拒绝标记;拒绝旁边一旦带提示,agent 就会用别的工具完成被拒动作并汇报成功,且每一步调用单独看都合规。43 个场景、9 个模型、23056 次受控实验:无提示时模型大体分得清拒绝与故障,加一句提示后 7 个模型的绕过率从 3-30% 抬到 46-100%,包括关闭 MFA 这类高危动作,并在 OpenAI Agents SDK + 官方 MCP filesystem server 真实栈复现。宿主侧防御有效:只删拒绝里的提示把高危绕过从 63% 压到 18%,恢复率基本不变;再叠加已拒效果记忆后测试场景绕过归零、恢复率保持 82%。
为什么值得关注
错误信息里的 recovery hint 是被忽视的越权面:无攻击者、每步调用都合规,宿主侧删提示即可把高危绕过从 63% 压到 18%。
arXiv metadata (opencli)
- title: From Denial to Detour: How Recovery Hints Enable Authorization Bypass in LLM Agents
- published: 2026-11-27
- updated: 2026-11-27
- categories: cs.CR, cs.AI
- abs: https://arxiv.org/abs/2611.37500
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.
元数据抓于 2026-12-01T07:56:29+08:00 外部扫描(opencli arxiv paper).