POISONCRAFT: Practical Poisoning of Retrieval-Augmented Generation for Large Language Models
On the map: Retrieval-augmented generation → Privacy and security of RAG
Abstract (arXiv)
Large language models (LLMs) have achieved remarkable success in various domains, primarily due to their strong capabilities in reasoning and generating human-like text. Despite their impressive performance, LLMs are susceptible to hallucinations, which can lead to incorrect or misleading outputs. This is primarily due to the lack of up-to-date knowledge or domain-specific information. Retrieval-augmented generation (RAG) is a promising approach to mitigate hallucinations by leveraging external knowledge sources. However, the security of RAG systems has not been thoroughly studied. In this paper, we study a poisoning attack on RAG systems named POISONCRAFT, which can mislead the model to refer to fraudulent websites. Compared to existing poisoning attacks on RAG systems, our attack is more practical as it does not require access to the target user query's info or edit the user query. It not only ensures that injected texts can be retrieved by the model, but also ensures that the LLM will be misled to refer to the injected texts in its response. We demonstrate the effectiveness of POISONCRAFTacross different datasets, retrievers, and language models in RAG pipelines, and show that it remains effective when transferred across retrievers, including black-box systems. Moreover, we present a case study revealing how the attack influences both the retrieval behavior and the step-by-step reasoning trace within the generation model, and further evaluate the robustness of POISONCRAFTunder multiple defense mechanisms. These results validate the practicality of our threat model and highlight a critical security risk for RAG systems deployed in real-world applications. We release our codefootnotehttps://github.com/AndyShaw01/PoisonCraft to support future research on the security and robustness of RAG systems in real-world settings.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 37 of its 45 references that are in the map. First posted on arXiv 10 May 2025.
Builds on
37 of 45 references.
Closest ancestors · 5
Same direction, newest first
- 2024HijackRAG: Hijacking Attacks against Retrieval-Augmented Large Language Models30 Oct
- 2024Black-Box Opinion Manipulation Attacks to Retrieval-Augmented Generation of Large Language Models18 Jul
- 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Models3 Jun
- 2024Human-Imperceptible Retrieval Poisoning Attacks in LLM-Powered Applications26 Apr
- 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models12 Feb
Other references · 32
- 2023GPT-4 Technical Reportcited by 18,396
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2024Mixtral of Expertscited by 1,823
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
20 more
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 429
- 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 332
- 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMscited by 202
- 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 159
- 2023Tensor Trust: Interpretable Prompt Injection Attacks from an Online Gamecited by 145
- 2024Jailbreak Vision Language Models via Bi-Modal Adversarial Promptcited by 109
- 2024Defending LLMs against Jailbreaking Attacks via Backtranslationcited by 70
- 2024SafeBench: A Safety Evaluation Framework for Multimodal Large Language Modelscited by 69
- 2025Reasoning-Augmented Conversation for Multi-Turn Jailbreak Attacks on Large Language Modelscited by 64
- 2023On the Creativity of Large Language Modelscited by 57
- 2023Assessing Prompt Injection Risks in 200+ Custom GPTscited by 55
- 2024In Defense of RAG in the Era of Long-Context Language Modelscited by 53
- 2024Don't Forget to Connect! Improving RAG with Graph-based Rerankingcited by 49
- 2024Unveiling the Safety of GPT-4o: An Empirical Study using Jailbreak Attackscited by 38
- 2023Making LLMs Worth Every Penny: Resource-Limited Text Classification in Bankingcited by 37
- 2025Towards Understanding the Safety Boundaries of DeepSeek Models: Evaluation and Findingscited by 27
- 2024Can Large Language Models Serve as Data Analysts? A Multi-Agent Assisted Approach for Qualitative Data Analysiscited by 20
- 2024PROMPTFUZZ: Harnessing Fuzzing Techniques for Robust Testing of Prompt Injection in LLMscited by 17
- 2021AutoLAW: Augmented Legal Reasoning through Legal Precedent Predictioncited by 14
- 2024Exploring Vulnerabilities and Protections in Large Language Models: A Surveycited by 11
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systemscited by 16
- 2025Pushing the Limits of Safety: A Technical Report on the ATLAS Challenge 2025cited by 12
- 2025POT: Inducing Overthinking in LLMs via Black-Box Iterative Optimizationcited by 11
- 2026ToolFlood: Beyond Selection -- Hiding Valid Tools from LLM Agents via Semantic Coveringcited by 1
- 2026SilentRetrieval: Hijacking Retrieval-Augmented Generation via Semantically-Preserving Adversarial Data Poisoningcited by 1
- 2026Evaluating RAG Reliability under Clean, Misleading, and Mixed Retrievalcited by 0
- 2026Evaluating RAG Reliability under Clean, Misleading, and Mixed Retrieval5 Jun 2026
- 2026SilentRetrieval: Hijacking Retrieval-Augmented Generation via Semantically-Preserving Adversarial Data Poisoning27 May 2026
- 2026ToolFlood: Beyond Selection -- Hiding Valid Tools from LLM Agents via Semantic Covering14 Mar 2026
- 2026Overcoming the Retrieval Barrier: Indirect Prompt Injection in the Wild for LLM Systems11 Jan 2026
- 2025POT: Inducing Overthinking in LLMs via Black-Box Iterative Optimization23 Aug 2025
- 2025Pushing the Limits of Safety: A Technical Report on the ATLAS Challenge 202514 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2025Practical Poisoning Attacks against Retrieval-Augmented Generation
- 2025Traceback of Poisoning Attacks to Retrieval-Augmented Generation
- 2025Benchmarking Poisoning Attacks against Retrieval-Augmented Generation
- 2025RAG Safety: Exploring Knowledge Poisoning Attacks to Retrieval-Augmented Generation
- 2026Confundo: Learning to Generate Robust Poison for Practical RAG Systems
- 2025Secure Retrieval-Augmented Generation against Poisoning Attacks
- 2025RAGPart & RAGMask: Retrieval-Stage Defenses Against Corpus Poisoning in Retrieval-Augmented Generation
- 2026PIDP-Attack: Combining Prompt Injection with Database Poisoning Attacks on Retrieval-Augmented Generation Systems