arXiv:2505.21499cs.CRcs.AI2025-05被引 10

利用广告投放实现对网页智能体的现实世界黑盒攻击

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

  • 通过广告系统注入恶意内容,无需了解用户意图或模型参数
  • 攻击成功率超60%,部分场景接近100%
  • 适合关注Web智能体安全的研究者与开发者

基于视觉语言模型(VLM)的网页智能体通过模拟人类交互实现复杂任务自动化,但其在开放网络环境中的部署带来了显著安全漏洞。现有对抗性环境注入攻击多依赖不切实际假设,如直接修改HTML、掌握用户意图或访问模型参数,限制了其实用性。本文提出AdInject,一种新型现实世界黑盒攻击方法,利用互联网广告投送机制向网页智能体环境注入恶意内容。AdInject在更真实的威胁模型下运行,仅需黑盒访问权限和静态恶意内容约束,无需特定用户意图信息。其包含设计误导性广告内容的策略,以及基于VLM的广告内容优化技术,通过分析目标网站上下文推断潜在用户意图,并融入广告内容以提升相关性与紧迫感,从而增强攻击效果。实验表明,AdInject在多数场景下攻击成功率超过60%,某些情况下接近100%。这强烈表明,主流广告投送已成为针对网页智能体环境注入攻击的强大且现实可行的路径。本工作揭示了由真实世界环境操控引发的网页智能体安全关键漏洞,凸显了构建鲁棒防御机制的紧迫性。代码已开源:https://github.com/NicerWang/AdInject。

原文摘要 · Abstract (English)

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.

智能体安全广告攻击黑盒攻击VLM

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