End-to-end security threats and defenses in retrieval-augmented LLM agents

Retrieval-augmented generation (RAG) and tool-using LLM agents are increasingly deployed in enterprise and safety–critical settings, but the retrieval and action layers expand the attack surface beyond standard prompt-based threats. This survey synthesizes end-to-end security research across three dominant threat classes: retrieval poisoning, indirect prompt injection, and tool attacks such as action manipulation, parameter tampering, and cross-tool data exfiltration. The literature is organized into a unified pipeline covering ingestion, indexing, retrieval, context assembly, generation, and tool execution. Defense algorithms are compared at each stage, including robust ANN retrieval, query expansion, context filtering, instruction and taint detection, capability scoping, sandboxing, and output validation. Key research gaps are identified, including limited cross-layer benchmarks, weak provenance and trust scoring for retrieved sources, scarce realistic agentic tool-chain testbeds, and inconsistent reporting of attack success, cost, and latency under adaptive adversaries. To mitigate these gaps, a novel hybrid defense algorithm, AegisRAG-RADMS, is introduced. It integrates HNSW retrieval with embedding-oriented query expansion (EoQ), hybrid context selection (SelSim + SelRand), a transformer-based prompt-injection classifier (ModernBERT or BERT), and dual tool firewalls consisting of an input minimizer and an output sanitizer. The survey concludes with deployment-oriented guidelines and open research directions for measurable robustness, continuous evaluation, and governance of secure RAG-enabled LLM agents.

Authors

Institutions

Publication Details

Journal
Discover Artificial Intelligence
Published
2026-07-02
DOI
https://doi.org/10.1007/s44163-026-01726-x
Primary Topic
Scientific Computing and Data Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

End-to-end security threats and defenses in retrieval-augmented LLM agents

Milind P Gajare, Govind Pole, Shraddha R. Khonde, S. H. Gawande et al.
Discover Artificial Intelligence
Scientific Computing and Data Management
article

End-to-end security threats and defenses in retrieval-augmented LLM agents

Milind P Gajare, Govind Pole, Shraddha R. Khonde, S. H. Gawande, R. N. Yerrawar, Rekha S. Kadam, Chitra Bhole, Manisha A. Dudhedia, Shrinivas N. Dharwadkar, Swapna S. Bhavsar, Purushottam G. Chilveri
article en

Abstract

Retrieval-augmented generation (RAG) and tool-using LLM agents are increasingly deployed in enterprise and safety–critical settings, but the retrieval and action layers expand the attack surface beyond standard prompt-based threats. This survey synthesizes end-to-end security research across three dominant threat classes: retrieval poisoning, indirect prompt injection, and tool attacks such as action manipulation, parameter tampering, and cross-tool data exfiltration. The literature is organized into a unified pipeline covering ingestion, indexing, retrieval, context assembly, generation, and tool execution. Defense algorithms are compared at each stage, including robust ANN retrieval, query expansion, context filtering, instruction and taint detection, capability scoping, sandboxing, and output validation. Key research gaps are identified, including limited cross-layer benchmarks, weak provenance and trust scoring for retrieved sources, scarce realistic agentic tool-chain testbeds, and inconsistent reporting of attack success, cost, and latency under adaptive adversaries. To mitigate these gaps, a novel hybrid defense algorithm, AegisRAG-RADMS, is introduced. It integrates HNSW retrieval with embedding-oriented query expansion (EoQ), hybrid context selection (SelSim + SelRand), a transformer-based prompt-injection classifier (ModernBERT or BERT), and dual tool firewalls consisting of an input minimizer and an output sanitizer. The survey concludes with deployment-oriented guidelines and open research directions for measurable robustness, continuous evaluation, and governance of secure RAG-enabled LLM agents.

Discover Artificial Intelligence
Marathwada Agricultural University (IN), International Institute of Information Technology (IN), PES University (IN), Society for Applied Microwave Electronics Engineering & Research (IN), K J Somaiya Medical College (IN), Savitribai Phule Pune University (IN)
Openalex Percentile: Top 4%
Scientific Computing and Data Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.