Skip to content

PIDP-Attack: Combining Prompt Injection and Database Poisoning to Attack RAG SystemsPIDP-Attack: Combining Prompt Injection with Database Poisoning Attacks on Retrieval-Augmented Generation Systems

arXiv· arXiv:2603.25164· Haozhen Wang, Haoyue Liu, Jionghao Zhu, Zhichao Wang, Yongxin Guo, Xiaoying Tang·Indexed by this site · 2026-10-12· Originally publishedAttacks

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe researchers propose PIDP-Attack, a composite attack combining prompt injection with database poisoning, which can manipulate the answers of RAG systems without needing to know the user's actual query in advance. The method appends malicious characters to the query at inference time and injects a small number of poisoned passages into the retrieval database. Evaluations on the Natural Questions, HotpotQA, and MS-MARCO benchmarks and eight LLMs show that the attack improves the attack success rate over the original PoisonedRAG by 4% to 16% on open-domain question answering tasks, while maintaining high retrieval precision.

Questions
RAG data poisoning usually requires knowing the user's specific query in advance, making it hard to scale under dynamic queries; prompt injection alone lacks persistent evidence in the corpus. PIDP-Attack aims to steer answers to any query toward an attacker-specified incorrect answer when both retriever and generator are black boxes and the query is not known in advance.
Methods
Offline, use Llama-3.1-8B-Instruct to generate poisoning passages starting with the target question S and supporting the wrong answer a−, and write them into the corpus, 5 by default. Online, append a fixed suffix to any query, retrieve top-5 with Contriever, then generate with the standard RAG template; success is the answer containing the exact string a−.
Experiments and results
Across three datasets and eight LLMs, PIDP's strict ASR is higher than or equal to PoisonedRAG. The authors state that on NQ, 7/8 models are 4%–16% higher, and on MS-MARCO, 5%–12% higher. The average ASR in Table 1 is 98.125%.
Limitations and future work
The conclusion lists three future directions: multimodal retrieval, perplexity filtering or query rewriting, and transfer between sparse and dense retrievers. Experiments use Contriever and three BEIR QA sets, eight API models; strict ASR is substring matching. The budget sweep covers three models.

Related events and news

0 events · 1 news mentions

News that mentions this paper

Related papers

Show 3 more papers
Read originalarxiv.org