arXiv:2606.15609cs.CRcs.AI2026-06中稿 · USENIX Security 20…被引 1

攻击者通过碎片化记忆实现大模型代理的权限绕过。

FragFuse: Bypassing Access Control of Large Language Model Agents via Memory-Based Query Fragmentation and Fusion

论文配图:FragFuse: Bypassing Access Control of Large Language Model Agents via Memory-Based Query Fragmentation and Fusion
图 1 · 摘自论文原文
  • 将违规内容拆分注入记忆,再重组执行
  • 绕过率86.3%,有害任务成功率41.1%
  • 适合研究安全防御与模型鲁棒性的读者

大型语言模型代理日益依赖长期记忆以支持复杂任务、用户个性化和领域适应。与此同时,新兴的访问控制机制被用于阻止违规请求并防止滥用。我们揭示了一种由代理记忆操作引发的新攻击面:本应被拦截的违规内容可跨交互片段化,以看似无害的形式存储于长期记忆中,并在后续通过记忆检索重构,而无需显式出现在最终用户查询中。我们提出FragFuse,首个利用长期记忆引入的时间通道实现未授权用户绕过代理访问控制的攻击方法。FragFuse分为三阶段:(1)通过黑盒自适应查询与片段掩码识别触发拒绝的片段;(2)使用标记载体查询将这些片段注入记忆;(3)通过后续攻击查询检索并融合存储片段。尽管FragFuse可手动构造针对个别代理,我们进一步开发基于代理的优化方案,调整融合指令与标记设计,实现自动化攻击生成,且不违反攻击者威胁模型假设。我们在四个代表性代理设置和任务领域中评估FragFuse,涵盖三种前沿代理访问控制机制。FragFuse在所有设置下平均绕过成功率达86.3%,平均端到端有害任务成功率为41.1%,相比无访问控制配置仅造成4.4%的平均任务成功率下降。我们还证明,包括最先进的提示注入检测器和困惑度检测器在内的替代防御措施无法有效应对此攻击。

原文摘要 · Abstract (English)

Large language model (LLM) agents increasingly rely on long-term memory to support complex task execution, user personalization, and domain adaptation. Meanwhile, emerging access-control mechanisms for LLM agents are being explored to block policy-violating requests and prevent misuse. We reveal a novel attack surface arising from agent memory operations: prohibited content that would trigger access control can be fragmented across interactions, stored in long-term memory in benign-appearing form, and later reconstructed through memory retrieval without appearing explicitly in the final user query. We propose FragFuse, the first attack that enables unprivileged users to bypass agent access control by exploiting this temporal channel introduced by long-term memory. FragFuse operates in three stages: (1) identifying rejection-responsive fragments via black-box adaptive querying with fragment masking; (2) injecting these fragments into memory using marker carrier queries; and (3) retrieving and fusing the stored fragments through a follow-up attack query. Although FragFuse can be instantiated manually for individual agents, we further develop a surrogate-based optimization scheme that tunes fusion instructions and marker designs, enabling automated attack generation without violating the attacker's threat-model assumptions. We evaluate FragFuse across four representative agent settings and task domains, covering three state-of-the-art agent access-control mechanisms. FragFuse achieves an average bypass success rate of 86.3% and an average end-to-end harmful task success rate of 41.1% across all settings, with only 4.4% average task-success degradation compared with configurations without access control. We also show that alternative defenses, including state-of-the-art prompt-injection detectors and perplexity detectors, do not effectively address this attack.

模型安全访问控制记忆攻击对抗性攻击

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。