mlsanityData to 14 Oct 2026

POISONCRAFT: Practical Poisoning of Retrieval-Augmented Generation for Large Language Models

arXiv 2505.06579 ↗First posted 10 May 2025cs.CRcited by 6

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

  1. 2024HijackRAG: Hijacking Attacks against Retrieval-Augmented Large Language Models30 Oct
  2. 2024Black-Box Opinion Manipulation Attacks to Retrieval-Augmented Generation of Large Language Models18 Jul
  3. 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Models3 Jun
  4. 2024Human-Imperceptible Retrieval Poisoning Attacks in LLM-Powered Applications26 Apr
  5. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models12 Feb

Other references · 32

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  5. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
  6. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
  7. 2024Mixtral of Expertscited by 1,823
  8. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  9. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  10. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  11. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  12. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
20 more
  1. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 429
  2. 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 332
  3. 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMscited by 202
  4. 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 159
  5. 2023Tensor Trust: Interpretable Prompt Injection Attacks from an Online Gamecited by 145
  6. 2024Jailbreak Vision Language Models via Bi-Modal Adversarial Promptcited by 109
  7. 2024Defending LLMs against Jailbreaking Attacks via Backtranslationcited by 70
  8. 2024SafeBench: A Safety Evaluation Framework for Multimodal Large Language Modelscited by 69
  9. 2025Reasoning-Augmented Conversation for Multi-Turn Jailbreak Attacks on Large Language Modelscited by 64
  10. 2023On the Creativity of Large Language Modelscited by 57
  11. 2023Assessing Prompt Injection Risks in 200+ Custom GPTscited by 55
  12. 2024In Defense of RAG in the Era of Long-Context Language Modelscited by 53
  13. 2024Don't Forget to Connect! Improving RAG with Graph-based Rerankingcited by 49
  14. 2024Unveiling the Safety of GPT-4o: An Empirical Study using Jailbreak Attackscited by 38
  15. 2023Making LLMs Worth Every Penny: Resource-Limited Text Classification in Bankingcited by 37
  16. 2025Towards Understanding the Safety Boundaries of DeepSeek Models: Evaluation and Findingscited by 27
  17. 2024Can Large Language Models Serve as Data Analysts? A Multi-Agent Assisted Approach for Qualitative Data Analysiscited by 20
  18. 2024PROMPTFUZZ: Harnessing Fuzzing Techniques for Robust Testing of Prompt Injection in LLMscited by 17
  19. 2021AutoLAW: Augmented Legal Reasoning through Legal Precedent Predictioncited by 14
  20. 2024Exploring Vulnerabilities and Protections in Large Language Models: A Surveycited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 4.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Practical Poisoning Attacks against Retrieval-Augmented Generation
  2. 2025Traceback of Poisoning Attacks to Retrieval-Augmented Generation
  3. 2025Benchmarking Poisoning Attacks against Retrieval-Augmented Generation
  4. 2025RAG Safety: Exploring Knowledge Poisoning Attacks to Retrieval-Augmented Generation
  5. 2026Confundo: Learning to Generate Robust Poison for Practical RAG Systems
  6. 2025Secure Retrieval-Augmented Generation against Poisoning Attacks
  7. 2025RAGPart & RAGMask: Retrieval-Stage Defenses Against Corpus Poisoning in Retrieval-Augmented Generation
  8. 2026PIDP-Attack: Combining Prompt Injection with Database Poisoning Attacks on Retrieval-Augmented Generation Systems