Phantom: General Backdoor Attacks on Retrieval Augmented Language Generation
On the map: Retrieval-augmented generation → Privacy and security of RAG
also in 1 more
Abstract (arXiv)
Retrieval Augmented Generation (RAG) expands the capabilities of modern large language models (LLMs), by anchoring, adapting, and personalizing their responses to the most relevant knowledge sources. It is particularly useful in chatbot applications, allowing developers to customize LLM output without expensive retraining. Despite their significant utility in various applications, RAG systems present new security risks. In this work, we propose a novel attack that allows an adversary to inject a single malicious document into a RAG system's knowledge base, and mount a backdoor poisoning attack. We design Phantom, a general two-stage optimization framework against RAG systems, that crafts a malicious poisoned document leading to an integrity violation in the model's output. First, the document is constructed to be retrieved only when a specific naturally occurring trigger sequence of tokens appears in the victim's queries. Second, the document is further optimized with crafted adversarial text that induces various adversarial objectives on the LLM output, including refusal to answer, reputation damage, privacy violations, and harmful behaviors.We demonstrate our attacks on multiple open-source LLM architectures, including Gemma, Vicuna, and Llama, and show that they transfer to closed-source models such as GPT-3.5 Turbo and GPT-4. Finally, we successfully demonstrate our attack on an end-to-end black-box production RAG system: NVIDIA's "Chat with RTX''.
Key facts. Cited by 46 papers in the map (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 31 of its 58 references that are in the map. First posted on arXiv 30 May 2024.
Builds on
31 of 58 references.
Closest ancestors · 1
Same direction, newest first
Other references · 30
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
18 more
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
- 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
- 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Trainingcited by 478
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 439
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
- 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 347
- 2023Low-Resource Languages Jailbreak GPT-4cited by 290
- 2023Poisoning Web-Scale Training Datasets is Practicalcited by 276
- 2023Poisoning Language Models During Instruction Tuningcited by 254
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 249
- 2020Witches' Brew: Industrial Scale Data Poisoning via Gradient Matchingcited by 156
- 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 153
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 120
- 2023On the Exploitability of Instruction Tuningcited by 110
- 2024Neural Exec: Learning (and Learning from) Execution Triggers for Prompt Injection Attackscited by 78
Built on by
Citing papers per year: 2024: 10; 2025: 19; 2026: 17.
46 papers.
Sort:
By area:
- 2024Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documentscited by 93
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
- 2024Privacy-Preserving Retrieval-Augmented Generation with Differential Privacycited by 38
- 2024Adversarial Search Engine Optimization for Large Language Modelscited by 37
- 2025Poison-RAG: Adversarial Data Poisoning Attacks on Retrieval-Augmented Generation in Recommender Systemscited by 32
- 2024Unleashing Worms and Extracting Data: Escalating the Outcome of Attacks against RAG-based Inference in Scale and Severity Using Jailbreakingcited by 30
- 2025Traceback of Poisoning Attacks to Retrieval-Augmented Generationcited by 28
- 2024Data Extraction Attacks in Retrieval-Augmented Generation via Backdoorscited by 23
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecyclecited by 21
- 2024Dataset and Lessons Learned from the 2024 SaTML LLM Capture-the-Flag Competitioncited by 20
- 2025Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Surveycited by 20
- 2024Retrieval-Augmented Generation with Estimation of Source Reliabilitycited by 19
34 more
- 2025Benchmarking Poisoning Attacks against Retrieval-Augmented Generationcited by 17
- 2025Joint-GCG: Unified Gradient-Based Poisoning Attacks on Retrieval-Augmented Generation Systemscited by 16
- 2024Ward: Provable RAG Dataset Inference via LLM Watermarkscited by 15
- 2024Towards More Robust Retrieval-Augmented Generation: Evaluating RAG Under Adversarial Poisoning Attackscited by 14
- 2025Poisoned-MRAG: Knowledge Poisoning Attacks to Multimodal Retrieval Augmented Generationcited by 12
- 2025Building Safe GenAI Applications: An End-to-End Overview of Red Teaming for Large Language Modelscited by 11
- 2025TracLLM: A Generic Framework for Attributing Long Context LLMscited by 11
- 2025Bias Beware: The Impact of Cognitive Biases on LLM-Driven Product Recommendationscited by 10
- 2025The Silent Saboteur: Imperceptible Adversarial Attacks against Black-Box Retrieval-Augmented Generation Systemscited by 10
- 2025Universal Zero-shot Embedding Inversioncited by 8
- 2025Safeguarding RAG Pipelines with GMTP: A Gradient-based Masked Token Probability Method for Poisoned Document Detectioncited by 5
- 2025Evaluating the Robustness of Retrieval-Augmented Generation to Adversarial Evidence in the Health Domaincited by 5
- 2026Visual Inception: Compromising Long-term Planning in Agentic Recommenders via Multimodal Memory Poisoningcited by 4
- 2026Hijacking Agent Memory: Stealthy Trojan Attacks Through Conversational Interactioncited by 4
- 2024PolicyLR: A Logic Representation For Privacy Policiescited by 3
- 2025Hoist with His Own Petard: Inducing Guardrails to Facilitate Denial-of-Service Attacks on Retrieval-Augmented Generation of LLMscited by 3
- 2025UniC-RAG: Universal Knowledge Corruption Attacks to Retrieval-Augmented Generationcited by 3
- 2026Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarkscited by 3
- 2026Making Theft Useless: Adulteration-Based Protection of Proprietary Knowledge Graphs in GraphRAG Systemscited by 2
- 2026ProGRank: Probe-Gradient Reranking to Defend Dense-Retriever RAG from Corpus Poisoningcited by 2
- 2026Securing Retrieval-Augmented Generation: A Taxonomy of Attacks, Defenses, and Future Directionscited by 2
- 2026GAMMAF: A Common Framework for Graph-Based Anomaly Monitoring Benchmarking in LLM Multi-Agent Systemscited by 2
- 2025MillStone: How Open-Minded Are LLMs?cited by 1
- 2026Conflict-Aware Retriever Editing for Knowledge Injection Attacks on LLM-Based RAG Systemscited by 1
- 2025Provably Secure Retrieval-Augmented Generationcited by 0
- 2025Knowing When Not to Answer: Lightweight KB-Aligned OOD Detection for Safe RAGcited by 0
- 2026Agentic Adversarial Rewriting Exposes Architectural Vulnerabilities in Black-Box NLP Pipelinescited by 0
- 2026When Poison Fails After Retrieval: Revisiting Corpus Poisoning under Chunking and Reranking Pipelinescited by 0
- 2026Poisoned Playbooks: Demystifying Knowledge Poisoning Effects on AI Security Agentscited by 0
- 2026Tracing Target Answers in Poisoned Retrieval Corpora via Token Influence Attributioncited by 0
- 2026PURPOSE: Poisoning Conflict Resolution in RAG via Proxy-Fact-Grounded Updatescited by 0
- 2026Privacy-Preserving RAG by Concealing Sensitive Information from External LLMscited by 0
- 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generationcited by 0
- 2026InceptionRAG: Stealthy Poisoning Attack Against Retrieval-Augmented Generationcited by 0
- 2026InceptionRAG: Stealthy Poisoning Attack Against Retrieval-Augmented Generation15 Sep 2026
- 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generation25 Aug 2026
- 2026Privacy-Preserving RAG by Concealing Sensitive Information from External LLMs13 Aug 2026
- 2026PURPOSE: Poisoning Conflict Resolution in RAG via Proxy-Fact-Grounded Updates5 Aug 2026
- 2026Tracing Target Answers in Poisoned Retrieval Corpora via Token Influence Attribution24 Jun 2026
- 2026Poisoned Playbooks: Demystifying Knowledge Poisoning Effects on AI Security Agents23 Jun 2026
- 2026Conflict-Aware Retriever Editing for Knowledge Injection Attacks on LLM-Based RAG Systems16 Jun 2026
- 2026When Poison Fails After Retrieval: Revisiting Corpus Poisoning under Chunking and Reranking Pipelines9 Jun 2026
- 2026Hijacking Agent Memory: Stealthy Trojan Attacks Through Conversational Interaction28 May 2026
- 2026GAMMAF: A Common Framework for Graph-Based Anomaly Monitoring Benchmarking in LLM Multi-Agent Systems27 Apr 2026
- 2026Agentic Adversarial Rewriting Exposes Architectural Vulnerabilities in Black-Box NLP Pipelines26 Apr 2026
- 2026Visual Inception: Compromising Long-term Planning in Agentic Recommenders via Multimodal Memory Poisoning18 Apr 2026
34 more
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecycle17 Apr 2026
- 2026Securing Retrieval-Augmented Generation: A Taxonomy of Attacks, Defenses, and Future Directions9 Apr 2026
- 2026ProGRank: Probe-Gradient Reranking to Defend Dense-Retriever RAG from Corpus Poisoning24 Mar 2026
- 2026Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarks23 Mar 2026
- 2026Making Theft Useless: Adulteration-Based Protection of Proprietary Knowledge Graphs in GraphRAG Systems1 Jan 2026
- 2025MillStone: How Open-Minded Are LLMs?15 Sep 2025
- 2025Evaluating the Robustness of Retrieval-Augmented Generation to Adversarial Evidence in the Health Domain4 Sep 2025
- 2025UniC-RAG: Universal Knowledge Corruption Attacks to Retrieval-Augmented Generation26 Aug 2025
- 2025Knowing When Not to Answer: Lightweight KB-Aligned OOD Detection for Safe RAG4 Aug 2025
- 2025Provably Secure Retrieval-Augmented Generation1 Aug 2025
- 2025Safeguarding RAG Pipelines with GMTP: A Gradient-based Masked Token Probability Method for Poisoned Document Detection24 Jul 2025
- 2025Joint-GCG: Unified Gradient-Based Poisoning Attacks on Retrieval-Augmented Generation Systems6 Jun 2025
- 2025TracLLM: A Generic Framework for Attributing Long Context LLMs4 Jun 2025
- 2025The Silent Saboteur: Imperceptible Adversarial Attacks against Black-Box Retrieval-Augmented Generation Systems24 May 2025
- 2025Benchmarking Poisoning Attacks against Retrieval-Augmented Generation24 May 2025
- 2025Hoist with His Own Petard: Inducing Guardrails to Facilitate Denial-of-Service Attacks on Retrieval-Augmented Generation of LLMs30 Apr 2025
- 2025Traceback of Poisoning Attacks to Retrieval-Augmented Generation30 Apr 2025
- 2025Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Survey21 Apr 2025
- 2025Universal Zero-shot Embedding Inversion31 Mar 2025
- 2025Poisoned-MRAG: Knowledge Poisoning Attacks to Multimodal Retrieval Augmented Generation8 Mar 2025
- 2025Building Safe GenAI Applications: An End-to-End Overview of Red Teaming for Large Language Models3 Mar 2025
- 2025Bias Beware: The Impact of Cognitive Biases on LLM-Driven Product Recommendations3 Feb 2025
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safety2 Feb 2025
- 2025Poison-RAG: Adversarial Data Poisoning Attacks on Retrieval-Augmented Generation in Recommender Systems20 Jan 2025
- 2024Towards More Robust Retrieval-Augmented Generation: Evaluating RAG Under Adversarial Poisoning Attacks21 Dec 2024
- 2024Privacy-Preserving Retrieval-Augmented Generation with Differential Privacy6 Dec 2024
- 2024Data Extraction Attacks in Retrieval-Augmented Generation via Backdoors3 Nov 2024
- 2024Retrieval-Augmented Generation with Estimation of Source Reliability30 Oct 2024
- 2024Ward: Provable RAG Dataset Inference via LLM Watermarks4 Oct 2024
- 2024Unleashing Worms and Extracting Data: Escalating the Outcome of Attacks against RAG-based Inference in Scale and Severity Using Jailbreaking12 Sep 2024
- 2024PolicyLR: A Logic Representation For Privacy Policies27 Aug 2024
- 2024Adversarial Search Engine Optimization for Large Language Models26 Jun 2024
- 2024Dataset and Lessons Learned from the 2024 SaTML LLM Capture-the-Flag Competition12 Jun 2024
- 2024Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documents9 Jun 2024
- 2024Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documentscited by 93
- 2024Privacy-Preserving Retrieval-Augmented Generation with Differential Privacycited by 38
- 2025Poison-RAG: Adversarial Data Poisoning Attacks on Retrieval-Augmented Generation in Recommender Systemscited by 32
- 2025Traceback of Poisoning Attacks to Retrieval-Augmented Generationcited by 28
- 2024Data Extraction Attacks in Retrieval-Augmented Generation via Backdoorscited by 23
- 2025Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Surveycited by 20
- 2024Retrieval-Augmented Generation with Estimation of Source Reliabilitycited by 19
- 2025Benchmarking Poisoning Attacks against Retrieval-Augmented Generationcited by 17
- 2025Joint-GCG: Unified Gradient-Based Poisoning Attacks on Retrieval-Augmented Generation Systemscited by 16
- 2024Towards More Robust Retrieval-Augmented Generation: Evaluating RAG Under Adversarial Poisoning Attackscited by 14
- 2025The Silent Saboteur: Imperceptible Adversarial Attacks against Black-Box Retrieval-Augmented Generation Systemscited by 10
- 2025Safeguarding RAG Pipelines with GMTP: A Gradient-based Masked Token Probability Method for Poisoned Document Detectioncited by 5
12 most cited of 29 All 29 (JSON)
- 2026InceptionRAG: Stealthy Poisoning Attack Against Retrieval-Augmented Generation15 Sep 2026
- 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generation25 Aug 2026
- 2026Privacy-Preserving RAG by Concealing Sensitive Information from External LLMs13 Aug 2026
- 2026PURPOSE: Poisoning Conflict Resolution in RAG via Proxy-Fact-Grounded Updates5 Aug 2026
- 2026Tracing Target Answers in Poisoned Retrieval Corpora via Token Influence Attribution24 Jun 2026
- 2026Poisoned Playbooks: Demystifying Knowledge Poisoning Effects on AI Security Agents23 Jun 2026
- 2026Conflict-Aware Retriever Editing for Knowledge Injection Attacks on LLM-Based RAG Systems16 Jun 2026
- 2026When Poison Fails After Retrieval: Revisiting Corpus Poisoning under Chunking and Reranking Pipelines9 Jun 2026
- 2026Securing Retrieval-Augmented Generation: A Taxonomy of Attacks, Defenses, and Future Directions9 Apr 2026
- 2026ProGRank: Probe-Gradient Reranking to Defend Dense-Retriever RAG from Corpus Poisoning24 Mar 2026
- 2026Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarks23 Mar 2026
- 2026Making Theft Useless: Adulteration-Based Protection of Proprietary Knowledge Graphs in GraphRAG Systems1 Jan 2026
12 newest of 29 All 29 (JSON)
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecyclecited by 21
- 2026Visual Inception: Compromising Long-term Planning in Agentic Recommenders via Multimodal Memory Poisoningcited by 4
- 2026Hijacking Agent Memory: Stealthy Trojan Attacks Through Conversational Interactioncited by 4
- 2026GAMMAF: A Common Framework for Graph-Based Anomaly Monitoring Benchmarking in LLM Multi-Agent Systemscited by 2
- 2026Agentic Adversarial Rewriting Exposes Architectural Vulnerabilities in Black-Box NLP Pipelinescited by 0
- 2026Hijacking Agent Memory: Stealthy Trojan Attacks Through Conversational Interaction28 May 2026
- 2026GAMMAF: A Common Framework for Graph-Based Anomaly Monitoring Benchmarking in LLM Multi-Agent Systems27 Apr 2026
- 2026Agentic Adversarial Rewriting Exposes Architectural Vulnerabilities in Black-Box NLP Pipelines26 Apr 2026
- 2026Visual Inception: Compromising Long-term Planning in Agentic Recommenders via Multimodal Memory Poisoning18 Apr 2026
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecycle17 Apr 2026
- 2024Unleashing Worms and Extracting Data: Escalating the Outcome of Attacks against RAG-based Inference in Scale and Severity Using Jailbreakingcited by 30
- 2024Ward: Provable RAG Dataset Inference via LLM Watermarkscited by 15
- 2025Building Safe GenAI Applications: An End-to-End Overview of Red Teaming for Large Language Modelscited by 11
- 2025Building Safe GenAI Applications: An End-to-End Overview of Red Teaming for Large Language Models3 Mar 2025
- 2024Ward: Provable RAG Dataset Inference via LLM Watermarks4 Oct 2024
- 2024Unleashing Worms and Extracting Data: Escalating the Outcome of Attacks against RAG-based Inference in Scale and Severity Using Jailbreaking12 Sep 2024
- 2024Adversarial Search Engine Optimization for Large Language Modelscited by 37
- 2024Dataset and Lessons Learned from the 2024 SaTML LLM Capture-the-Flag Competitioncited by 20
- 2025TracLLM: A Generic Framework for Attributing Long Context LLMscited by 11
- 2025Bias Beware: The Impact of Cognitive Biases on LLM-Driven Product Recommendationscited by 10
- 2025Universal Zero-shot Embedding Inversioncited by 8
- 2024PolicyLR: A Logic Representation For Privacy Policiescited by 3
- 2025MillStone: How Open-Minded Are LLMs?cited by 1
- 2025MillStone: How Open-Minded Are LLMs?15 Sep 2025
- 2025TracLLM: A Generic Framework for Attributing Long Context LLMs4 Jun 2025
- 2025Universal Zero-shot Embedding Inversion31 Mar 2025
- 2025Bias Beware: The Impact of Cognitive Biases on LLM-Driven Product Recommendations3 Feb 2025
- 2024PolicyLR: A Logic Representation For Privacy Policies27 Aug 2024
- 2024Adversarial Search Engine Optimization for Large Language Models26 Jun 2024
- 2024Dataset and Lessons Learned from the 2024 SaTML LLM Capture-the-Flag Competition12 Jun 2024
Similar, not cited
Close in wording, no citation either way
- 2024Backdoored Retrievers for Prompt Injection Attacks on Retrieval Augmented Generation of Large Language Models
- 2025Practical Poisoning Attacks against Retrieval-Augmented Generation
- 2025RAG Security and Privacy: Formalizing the Threat Model and Attack Surface
- 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
- 2025CPA-RAG:Covert Poisoning Attacks on Retrieval-Augmented Generation in Large Language Models
- 2025PR-Attack: Coordinated Prompt-RAG Attacks on Retrieval-Augmented Generation in Large Language Models via Bilevel Optimization
- 2025RAGPart & RAGMask: Retrieval-Stage Defenses Against Corpus Poisoning in Retrieval-Augmented Generation
- 2025Token-Level Precise Attack on RAG: Searching for the Best Alternatives to Mislead Generation