paper-with-me

홈 › Papers

WARD: Adversarially Robust Defense of Web Agents Against Prompt Injections

2026-05-14 · Tri Cao, Yulin Chen, Hieu Cao, Yibo Li, Khoi Le, Thong Nguyen, Yuexin Li, Yufei He, Yue Liu, Shuicheng Yan, Bryan Hooi arxiv

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.

📄 PDF Abstract BibTeX arXiv:2605.15030

Code (0)

등록된 구현이 없습니다.

Tasks

Adversarial Attack

Similar Papers 제목 키워드 기반

Claudini: Autoresearch Discovers State-of-the-Art Adversarial Attack Algorithms for LLMs

2026-03-25 · Alexander Panfilov, Peter Romov, Igor Shilov, Yves-Alexandre de Montjoye 외 arxiv

We show that AI agents are capable of discovering novel algorithms for adversarial attacks against LLMs, advancing the state of the art on white-box jailbreaking and prompt injection evaluations. We deploy frontier agent…

Adversarial Attack

LLM Defenses Are Not Robust to Multi-Turn Human Jailbreaks Yet

2024-08-27 · Nathaniel Li, Ziwen Han, Ian Steneker, Willow Primack 외

Recent large language model (LLM) defenses have greatly improved models' ability to refuse harmful queries, even when adversarially attacked. However, LLM defenses are primarily evaluated against automated adversarial at…

Language ModelingLanguage ModellingLarge Language ModelMachine Unlearning+1

Towards Robust Deep Reinforcement Learning against Environmental State Perturbation

2025-06-10 · Chenxu Wang, Huaping Liu

Adversarial attacks and robustness in Deep Reinforcement Learning (DRL) have been widely studied in various threat models; however, few consider environmental state perturbations, which are natural in embodied scenarios.…

Deep Reinforcement Learningreinforcement-learningReinforcement Learning

Distorting Embedding Space for Safety: A Defense Mechanism for Adversarially Robust Diffusion Models

2025-01-31 · Jaesin Ahn, Heechul Jung

Text-to-image diffusion models show remarkable generation performance following text prompts, but risk generating Not Safe For Work (NSFW) contents from unsafe prompts. Existing approaches, such as prompt filtering or co…

Image Generation

RL Is a Hammer and LLMs Are Nails: A Simple Reinforcement Learning Recipe for Strong Prompt Injection

2025-10-06 · Yuxin Wen, Arman Zharmagambetov, Ivan Evtimov, Narine Kokhlikyan 외 arxiv

Prompt injection poses a serious threat to the reliability and safety of LLM agents. Recent defenses against prompt injection, such as Instruction Hierarchy and SecAlign, have shown notable robustness against static atta…

Reinforcement Learning