2025-05-28 · 专家 · 机器学习 · 计算机视觉

AdInject: Real-World Black-Box Attacks on Web Agents via Advertising Delivery

本文提出了AdInject,一种利用互联网广告投放对基于视觉语言模型的Web代理进行黑盒攻击的新方法,揭示了Web代理在现实环境中的安全漏洞。

更新于 2025-05-28。作者:Haowei Wang、Junjie Wang、Xiaojun Jia、Rupeng Zhang、Mingyang Li、Zhe Liu、Yang Liu、Qing Wang。

中文摘要

基于视觉语言模型(VLM)的网页代理代表了向自动化复杂任务迈出的重要一步,通过模拟与网站类似的人类交互。然而,它们在不受控制的网络环境中的部署引入了重大的安全漏洞。现有的关于对抗性环境注入攻击的研究往往依赖于不切实际的假设,例如直接HTML操作、了解用户意图或访问代理模型参数,这限制了它们的实际应用。在本文中,我们提出了AdInject,这是一种新颖且现实世界的黑盒攻击方法,它利用互联网广告投递将恶意内容注入到网页代理的环境中。AdInject在比先前工作更为现实的威胁模型下运行,假设了一个黑盒代理、静态恶意内容约束以及没有特定用户意图的知识。AdInject包括设计旨在误导代理点击的恶意广告内容策略,以及一种基于VLM的广告内容优化技术,该技术从目标网站的上下文中推断潜在的用户意图,并将这些意图整合到广告内容中,使其对代理的任务显得更加相关或关键,从而提高攻击的有效性。实验评估表明,AdInject非常有效,在大多数场景中的攻击成功率超过60%,在某些情况下接近100%。这强烈表明,普遍的广告投递构成了针对网页代理的环境注入攻击的有力且现实世界的载体。这项工作突显了由现实世界的环境操纵渠道引起的网页代理安全中的关键漏洞,强调了开发针对此类威胁的强大防御机制的紧迫需求。我们的代码可在https://github.com/NicerWang/AdInject上获取。

英文摘要

Vision-Language Model (VLM) based Web Agents represent a significant step towards automating complex tasks by simulating human-like interaction with websites. However, their deployment in uncontrolled web environments introduces significant security vulnerabilities. Existing research on adversarial environmental injection attacks often relies on unrealistic assumptions, such as direct HTML manipulation, knowledge of user intent, or access to agent model parameters, limiting their practical applicability. In this paper, we propose AdInject, a novel and real-world black-box attack method that leverages the internet advertising delivery to inject malicious content into the Web Agent's environment. AdInject operates under a significantly more realistic threat model than prior work, assuming a black-box agent, static malicious content constraints, and no specific knowledge of user intent. AdInject includes strategies for designing malicious ad content aimed at misleading agents into clicking, and a VLM-based ad content optimization technique that infers potential user intents from the target website's context and integrates these intents into the ad content to make it appear more relevant or critical to the agent's task, thus enhancing attack effectiveness. Experimental evaluations demonstrate the effectiveness of AdInject, attack success rates exceeding 60% in most scenarios and approaching 100% in certain cases. This strongly demonstrates that prevalent advertising delivery constitutes a potent and real-world vector for environment injection attacks against Web Agents. This work highlights a critical vulnerability in Web Agent security arising from real-world environment manipulation channels, underscoring the urgent need for developing robust defense mechanisms against such threats. Our code is available at https://github.com/NicerWang/AdInject.

解读

一句话总结

本文提出了AdInject,一种利用互联网广告投放对基于视觉语言模型的Web代理进行黑盒攻击的新方法,揭示了Web代理在现实环境中的安全漏洞。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt