Prevented is Not Protected: What Attack Success Rate Hides about RAG

Chahana Dahal, Zuobin Xiong
10/29/2026
cs.CRcs.CLcs.IR
rag

Official code: chxhana/aligned-rag-eval (0 stars, Python, last commit 2026-10-10).

Abstract

Retrieval-Augmented Generation (RAG) is vulnerable to knowledge poisoning, where adversaries manipulate retrieved evidence to influence model outputs. Existing defenses are primarily evaluated using attack success rate (ASR), which obscures defense-induced failures and the mechanisms behind apparent attack prevention.

Show full abstract

To address this issue, this work introduces \textbf{Aligned RAG Evaluation}, a matched-query protocol that jointly examines clean and poisoned responses, with and without defense. By combining matched conditions analysis, LLM-judge endorsement, and retrieval dependence controls, the proposed framework distinguishes prevented from introduced failures, target mentions from LLM endorsement, and single-passage influence from evidence composition. Experiments on HotpotQA and Natural Questions reveal that existing defenses can introduce unexpected target-positive answers, although they can prevent some attacks, while evaluation criteria can also change defense rankings. Our findings expose critical blind spots in ASR-based evaluation and motivate a more comprehensive assessment of RAG poisoning defenses. The code and the evaluation artifact are available at https://github.com/chxhana/aligned-rag-eval.

View on arXivView PDF

Code Implementations(1)

00Python, HTMLOct 5, 20261 months ago

Similar Papers

Cite this paper

@article{dahal2026prevented,
  title  = {Prevented is Not Protected: What Attack Success Rate Hides about RAG},
  author = {Chahana Dahal and Zuobin Xiong},
  year   = {2026},
  eprint = {2610.40742},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.40742v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.40742.svg)](https://codeofpaper.com/paper/2610.40742)

Discussion