arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.02623cs.CRcs.AI
收藏

一次投毒,永久利用:针对网络代理的环境注入内存投毒攻击

Poison Once, Exploit Forever: Environment-Injected Memory Poisoning Attacks on Web Agents

Pennsylvania State University(宾夕法尼亚州立大学);Amazon Web Services(亚马逊云服务)

Wei Zou, Mingwen Dong, Miguel Romero Calvo, Shuaichen Chang, Jiang Guo, Dongkyu Lee, Xing Niu, Xiaofei Ma, Yanjun Qi, Jiarong Jiang

AI总结:

研究提出eTAMP攻击,通过环境观察污染代理内存,实现跨会话和跨网站的持久化攻击,实验显示攻击成功率高达32.5%,且环境压力下代理易受攻击,高能力模型同样存在漏洞。

摘要:

内存使基于大语言模型的网络代理个性化、强大,但易受攻击。通过存储过往交互来个性化未来任务,代理无意中创建了跨越网站和会话的持久攻击面。现有安全研究假设攻击者可以直接注入内存或利用用户共享内存,但本文提出更现实的威胁模型:仅通过环境观察污染。我们引入环境注入轨迹基代理内存投毒(eTAMP),首次实现跨会话、跨网站的妥协,无需直接内存访问。单个被污染的观察(如查看篡改的产品页面)会无声地污染代理内存,并在不同网站的未来任务中激活,绕过基于权限的防御。在(视觉)WebArena上的实验揭示两个关键发现:首先,eTAMP在GPT-5-mini、GPT-5.2和GPT-OSS-120B上的攻击成功率高达32.5%、23.4%和19.5%。其次,我们发现挫败利用:在环境压力下,代理变得异常易受攻击,当代理在点击丢失或文本混乱时,ASR增加高达8倍。值得注意的是,更强大的模型并不更安全。GPT-5.2在任务表现优于其他模型的情况下,仍表现出显著的漏洞。随着AI浏览器如OpenClaw、ChatGPT Atlas和Perplexity Comet的兴起,我们的发现强调了对环境注入内存投毒的防御需求的紧迫性。

英文摘要:

Memory makes LLM-based web agents personalized, powerful, yet exploitable. By storing past interactions to personalize future tasks, agents inadvertently create a persistent attack surface that spans websites and sessions. While existing security research on memory assumes attackers can directly inject into memory storage or exploit shared memory across users, we present a more realistic threat model: contamination through environmental observation alone. We introduce Environment-injected Trajectory-based Agent Memory Poisoning (eTAMP), the first attack to achieve cross-session, cross-site compromise without requiring direct memory access. A single contaminated observation (e.g., viewing a manipulated product page) silently poisons an agent's memory and activates during future tasks on different websites, bypassing permission-based defenses. Our experiments on (Visual)WebArena reveal two key findings. First, eTAMP achieves substantial attack success rates: up to 32.5% on GPT-5-mini, 23.4% on GPT-5.2, and 19.5% on GPT-OSS-120B. Second, we discover Frustration Exploitation: agents under environmental stress become dramatically more susceptible, with ASR increasing up to 8 times when agents struggle with dropped clicks or garbled text. Notably, more capable models are not more secure. GPT-5.2 shows substantial vulnerability despite superior task performance. With the rise of AI browsers like OpenClaw, ChatGPT Atlas, and Perplexity Comet, our findings underscore the urgent need for defenses against environment-injected memory poisoning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑