RAG-PIBench: A Leakage-Aware Benchmark for Prompt-Injection Detection in Trustworthy RAG Systems
Niveen O. Jaffal, Ahmet Yuksel, David Mohaisen
Key points
From the paper's conclusion- Our results demonstrate the value of leakage-aware benchmark design and strong sparse baselines for reliable prompt-injection detection in RAG systems.
Abstract
Retrieval-Augmented Generation (RAG) systems are vulnerable to prompt-injection attacks embedded in retrieved content. We introduce RAG-PIBench, a benchmark for RAG-style prompt-injection detection containing 4,876 contextual examples across frozen train, validation, and protected-test splits. Using a leakage-aware construction pipeline and strict evaluation protocol, we compare keyword-based, semantic-reference, TF-IDF, and transformer-based detectors. DistilBERT achieves the best protected-test performance (F1 = 0.896, PR-AUC = 0.968), while TF-IDF SVM and logistic regression remain competitive. Our results demonstrate the value of leakage-aware benchmark design and strong sparse baselines for reliable prompt-injection detection in RAG systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Context-Aware Prompt Injection Detection via Small Language Models in RAG Pipelines: nokast-secureRAGarXiv · 2026
- SD-RAG: A framework for secure selective disclosure in retrieval-augmented generation against single-turn prompt-leaking attacksExpert Systems with Applications · 2026
- Security, Privacy, and Trustworthy Design for Retrieval-Augmented Generation SystemsElectronics · 2026
- RAGLeak: Supply-Chain Privacy Backdoors in Retrieval-Augmented GenerationarXiv · 2026
- Ranking Is Not Deciding: Benchmark Shortcuts and Operating-Point Collapse in Query-Time RAG Poisoning DefensesarXiv · 2026
- Protection Is Not One Event: A Survey of RAG Protection Research by Measured EndpointarXiv · 2026