Overview
The benchmark provides a concrete dataset and multi-stage tests with human validation; it is practical for pipeline hardening but limited to single‑modal Chinese news data and data-injection threat types.
Citations1
Evidence Strength0.80
Confidence0.85
Risk Signals8
Trust Signals
Findings with numeric evidence: 5/5
Findings with evidence refs: 5/5
Results with explicit delta: 1/4
Reproducibility
Status: Code + data available
Open source: Partial
At A Glance
Cost impact: 45%
Production readiness: 60%
Novelty: 60%
Why It Matters For Business
RAG pipelines used in products can be quietly manipulated by injected texts that bypass retrievers, filters, or LLMs; this risks wrong answers, hidden ads, or unwarranted refusals—test and harden the whole pipeline, not only the model.
Who Should Care
Summary TLDR
SafeRAG is a Chinese benchmark and dataset that tests RAG (retriever → filter → generator) pipelines against four data-injection attacks: silver noise (partial answers), inter-context conflict, soft ad (implicit toxic/advertising text), and white DoS (false safety-warning refusal). The authors build a 100-question news-based base dataset, craft attacks primarily by human annotators with LLM help, and run systematic experiments across 14 retrievers/filters/generators. Results show RAG systems are broadly vulnerable: attacks are most effective when injected into filtered or retrieved contexts, some compressors or filters worsen results, and certain retrievers (Hybrid-Rerank) and generators (Ba
Problem Statement
Retrieval-augmented generation (RAG) systems combine external documents with LLMs, but attacker-supplied texts can be injected at indexing, retrieval, or filtering and mislead the system. Existing benchmarks use attack types that are often blocked by retrievers or simple filters, so we lack a realistic evaluation that exposes subtle, bypassing attacks across the full RAG pipeline.
Main Contribution
Define four improved attack types against RAG: silver noise, inter-context conflict, soft ad, and white DoS.
Construct SafeRAG: a mainly human-curated Chinese dataset built from 100 news Q–context pairs and targeted attack texts.
Key Findings
RAG systems are vulnerable to subtle injection attacks (noise, conflict, toxicity, DoS) at multiple pipeline stages.
Attack effectiveness is highest when injected into filtered or retrieved contexts rather than the raw knowledge base.
Results
| Metric | Value | Baseline | Delta | Split / Dataset | Evidence | Evidence Ref |
|---|---|---|---|---|---|---|
| Number of evaluated RAG components | 14 retrievers/filters/generators | — | — | SafeRAG experiments (Section 5.1) | Section 5.1 lists 14 components evaluated | Section 5.1 |
| Dataset size (base) | 100 comprehensive question–context pairs | — | — | SafeRAG base dataset | Section 3.2: curated 100 question-contexts pairs | Section 3.2 |
What To Try In 7 Days
Run SafeRAG tests (or replay attacks) against your retriever+filter+generator stack.
Simulate silver-noise and white-DoS injections into filtered contexts to check end-to-end behavior.
Compare hybrid-rerank versus DPR/BM25 retrieval for your domain and prefer hybrid rerankers if noise is a problem.
Reproducibility
Risks & Boundaries
Limitations
Attack coverage focuses on data-injection attacks and does not include model-level backdoors.
Benchmark targets single-modal text RAG (news); it does not evaluate multimodal or structured knowledge RAG.
When Not To Use
Assessing model-level backdoors or attacks that modify model weights.
Evaluating multimodal (image/audio/graph) RAG systems without adaptation.
Failure Modes
Benchmark may reveal attack patterns that adversaries could adapt to (risk of method disclosure).
Human-constructed conflicts are realistic but cannot cover all real-world manipulations or domains.

