← Lab /AI/ML

WARD achieves near-perfect recall against unseen prompt injections while keeping low false positives

WARD provides near-perfect recall and low false positives against out-of-distribution and adaptive prompt injection attacks without increasing latency

AI/ML arXiv 14 May 2026 Defense Prototype evidence

Published as “WARD: Adversarially Robust Defense of Web Agents Against Prompt Injections”

Why it matters

Provides a deployable guard that can protect web-agents from prompt injection without sacrificing speed or task performance.

Summary

WARD achieves near-perfect recall (≈100%) on out-of-distribution benchmarks and reduces attack success to 0% while keeping false-positive rates below 0.5%, demonstrating strong generalization and efficiency; the paper provides extensive quantitative results but does not include a dedicated limitations discussion.

What they found 4

  1. WARD-0.8B reaches 99.33% accuracy and 99.34% F1 on the WARD-Test benchmark

    “On WARD-Test, WARD-0.8B reaches 99.33% accuracy and 99.34% F1, while WARD-2B achieves 99.20% on both metrics.”

  2. WARD reduces the attack success rate to 0% across all tasks and domains when deployed with agents

    “WARD reduces the attack success rate to 0% across all tasks and domains, while existing methods still fail in several cases, demonstrating effective protection in realistic deployments.”

  3. WARD maintains near-perfect recall under guard-targeted (PIG) attacks across all modalities

    “In contrast, WARD maintains near-perfect recall in all settings, demonstrating strong robustness against guard-targeted attacks and the effectiveness of WARD-PIG.”

  4. WARD incurs near-zero false positive rates and negligible performance degradation for agents

    “WARD maintains near-zero false positive rates with negligible utility degradation across all settings, while existing guard models introduce substantially higher false positives and larger performance drops.”

Caveats 2

  • In the final A3T training cycle, SSR increases to 3.12% and 5.62% at trial budget 10, showing that adaptive attacks can still succeed at a low rate.
  • False positive rates for WARD are non-zero (e.g., 0.49% for WARD-0.8B and 0.27% for WARD-2B) indicating occasional benign pages are flagged.

What’s new here 4

  • A large-scale 177K-sample dataset (WARD-Base) covering 719 high-traffic URLs and multiple modalities.
  • A dedicated guard-targeted attack dataset (WARD-PIG) to train against prompt-injection attacks on the guard itself.
  • An adaptive adversarial attack training framework (A3T) that co-evolves attacker and guard.
  • Parallel deployment of the guard with the web agent that adds no extra latency.