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

WARD: 用于对抗Web代理对抗提示注入的鲁棒防御

WARD: Adversarially Robust Defense of Web Agents Against Prompt Injections

National University of Singapore(新加坡国立大学);University of Science(科学大学);Vietnam National University, Ho Chi Minh City(越南国家大学,胡志明市)

Tri Cao, Yulin Chen, Hieu Cao, Yibo Li, Khoi Le, Thong Nguyen, Yuexin Li, Yufei He, Yue Liu, Shuicheng Yan, Bryan Hooi

AI总结:

WARD通过WARD-Base和WARD-PIG数据集及A3T框架,实现高效鲁棒的Web代理防御,有效应对提示注入攻击,保持低误报率和高效运行。

摘要:

Web代理可以通过与网站交互自主完成在线任务,但其暴露于开放网络环境使其易受嵌入HTML内容或视觉界面的提示注入攻击。现有防护模型存在泛化能力有限、对良性内容误报率高、部署效率低以及易受对抗攻击等问题。为解决这些问题,我们提出WARD(Web代理对抗提示注入的鲁棒防御),基于WARD-Base大规模数据集和WARD-PIG专用数据集,引入A3T框架,通过记忆基攻击者与防护者共进化过程迭代强化WARD。实验表明,WARD在分布外基准上几乎完美召回,保持低误报率以维持代理效用,对针对防护者的适应性攻击在显著分布偏移下仍保持稳健,并能与代理并行高效运行,不引入额外延迟。

英文摘要:

Web agents can autonomously complete online tasks by interacting with websites, but their exposure to open web environments makes them vulnerable to prompt injection attacks embedded in HTML content or visual interfaces. Existing guard models still suffer from limited generalization to unseen domains and attack patterns, high false positive rates on benign content, reduced deployment efficiency due to added latency at each step, and vulnerability to adversarial attacks that evolve over time or directly target the guard itself. To address these limitations, we propose WARD (Web Agent Robust Defense against Prompt Injection), a practical guard model for secure and efficient web agents. WARD is built on WARD-Base, a large-scale dataset with around 177K samples collected from 719 high-traffic URLs and platforms, and WARD-PIG, a dedicated dataset designed for prompt injection attacks targeting the guard model. We further introduce A3T, an adaptive adversarial attack training framework that iteratively strengthens WARD through a memory-based attacker and guard co-evolution process. Extensive experiments show that WARD achieves nearly perfect recall on out-of-distribution benchmarks, maintains low false positive rates to preserve agent utility, remains robust against guard-targeted and adaptive attacks under substantial distribution shifts, and runs efficiently in parallel with the agent without introducing additional latency.

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

↑