Security, Privacy, and Trustworthy Design for Retrieval-Augmented Generation Systems
Abdulrahman Abdullah Alghamdi
Key points
From the paper's conclusion- The review contributes a RAG security reference architecture, an attack-defense matrix, and a reporting framework for deployment-aware evaluation.
Abstract
Retrieval-augmented generation (RAG) lets a language model draw on an external knowledge store. Factual coverage improves, but the system also gains security and privacy boundaries that a stand-alone model does not have: a malicious or unauthorized document can shape what is retrieved, enter the model context, over-ride instructions, disclose sensitive information, or trigger an external action. This structured narrative review synthesizes RAG attacks, defenses, threat models, and evaluation practices in work published between 2020 and September 2026. The evidence is grouped by pipeline stage, from ingestion, chunking, and embedding through retrieval, vector storage, context assembly, generation, output, and tool execution. Four findings stand out. First, poisoning, extraction, membership inference, and indirect prompt injection are distinct but composable threats. Second, attack success often falls when realistic chunking, re-ranking, corpus redundancy, and permissions are introduced, while adaptive evaluation can expose residual weaknesses in defenses. Third, credible security requires layered controls spanning provenance, access control, retrieval-time anomaly detection, context isolation, output monitoring, and tool permissions. Fourth, current benchmarks rarely evaluate authorization state, multi-tenant isolation, cache invalidation, deployment cost, or external actions. The review contributes a RAG security reference architecture, an attack-defense matrix, and a reporting framework for deployment-aware evaluation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Security Meta-Model for Retrieval-Augmented Generation SystemsarXiv · 2026
- From knowledge retrieval to generation: a comprehensive study of RAG's architectures, evolution, and applicationsArtificial Intelligence Review · 2026
- Protection Is Not One Event: A Survey of RAG Protection Research by Measured EndpointarXiv · 2026
- SD-RAG: A framework for secure selective disclosure in retrieval-augmented generation against single-turn prompt-leaking attacksExpert Systems with Applications · 2026
- RAGLeak: Supply-Chain Privacy Backdoors in Retrieval-Augmented GenerationarXiv · 2026
- RAG-PIBench: A Leakage-Aware Benchmark for Prompt-Injection Detection in Trustworthy RAG SystemsarXiv · 2026