arXiv:cs.AI· Yutong Zhi, Jie Zhang, Xiuqi Lu, Jiayuan Xu, Jing Shao·· 16 小时前
TRAP:针对 LLM 智能体工具结果错误绑定问题的重放攻击
TRAP: Tool-result Replay Attack for Probing Misbinding in LLM Agents
AI 导读
研究者提出 TRAP 工具结果重放攻击,用于探测 LLM 智能体的工具结果错误绑定(tool-result misbinding)问题,并发布 ReplayBench 基准,覆盖 19 个智能体场景、4 类失败属性和 3 种重放机制。
正文
Abstract:As AI agents increasingly act through external tools, tool results are no longer simple outputs but execution artifacts that must remain correctly associated with the context that produced them. Yet as results persist across caches, recovery mechanisms, and shared runtime state, this association can break, causing a real and unmodified result to be consumed in an incompatible execution context and lead the agent to an unsafe action. We characterize this failure as tool-result misbinding. To systematically study this failure, we introduce ReplayBench, a benchmark that uses controlled tool-result replay to evaluate misbinding across 19 representative agent scenarios, 4 failure properties, and 3 replay mechanisms. Across eight LLMs, three agent frameworks, and diverse stateful workflows, we find widespread replay-induced failures, with a mean Final-State Error Rate of 0.649 under cross-task replay. Stage-wise analysis localizes these failures to model-side action generation. Further analyses show that replay susceptibility varies with task similarity, shows little dependence on object similarity, and remains high under result staleness and implicit environment changes. These findings motivate runtime validity mechanisms that eliminate final-state errors in our evaluated settings while preserving legitimate recovery. The results call for explicit contextual binding in tool-using agent runtimes. Our work is public at this https URL.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.16333 [cs.AI] |
| (or arXiv:2610.16333v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.16333 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yutong Zhi [view email]
[v1]
Mon, 12 Oct 2026 07:51:02 UTC (1,468 KB)
来源:arXiv:cs.AI · arxiv.org