Retrieval-augmented generation (RAG) enhances large language models by feeding them external knowledge, but that extra access route brings its own security problems. According to a new survey on arXiv, these risks are distinct from the flaws that exist in models that rely only on prompts or their own parameters.

The survey frames the issue by separating RAG-specific vulnerabilities from more general LLM weaknesses. This distinction matters because securing a RAG system requires looking beyond the model itself to the data sources, retrieval mechanisms, and the way retrieved content is integrated into generation.

The authors position their work as a step toward a structured understanding of secure RAG. By laying out this framing, they aim to help researchers and practitioners identify and address the unique attack surface that RAG introduces.