Manuscript Offprint

arXiv:2610.11893

A Security Meta-Model for Retrieval-Augmented Generation Systems

Steve Nouyep, Sébastien Salva, Maxime Puys

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Steve Nouyep, Sébastien Salva, and Maxime Puys

Université Clermont Auvergne, CNRS, LIMOS, 63000 Clermont-Ferrand, France {steve_durand.nouyep_noundjio, sebastien.salva, maxime.puys}@uca.fr

Abstract. Retrieval-Augmented Generation (RAG) systems extend large language models (LLMs) with external knowledge through a multi-stage pipeline. While this architecture can improve the factual grounding of generated answers, it introduces structural attack surfaces that extend beyond those of standalone LLMs. In this paper, we introduce a security meta-model that captures explicit causal relationships between RAG surfaces, attacks, weaknesses, risks, and CIA impact (Confidentiality, Integrity, Availability). Its purpose is to provide security engineers with a structured and user-friendly framework for gathering and assessing the risks, weaknesses, and mitigations relevant to their RAG deployment. We designed the meta-model through an iterative, structured analysis of 43 publications (2023–2026) and instantiated it as a catalog populated with the security threats and remediations reported in the literature. Filtering the catalog according to a deployment configuration produces a risk profile containing the risks applicable to that deployment. An interactive web visualizer lets users navigate the catalog as a graph, follow causal chains, and explore stakeholder-specific views. Analysis of the catalog revealed a persistent imbalance between attack-focused and defense-focused research, a concentration of threats at ingestion, and coverage gaps affecting output integrity. Coverage is assessed against the OWASP LLM Top 10, and operational applicability is illustrated across textual, graph-based, and multimodal RAG configurations.

Keywords: RAG · Threat Modeling · Meta-model · Risk Filtering

1 Introduction

Retrieval-Augmented Generation (RAG) systems [15] have emerged as a widely adopted approach for enhancing Large Language Models (LLMs) with external knowledge sources. By combining retrieval and generation, they aim to improve factual grounding and domain adaptation in applications ranging from enterprise knowledge management to healthcare and e-commerce. However, the architectural decomposition that enables these benefits also introduces new security considerations. Unlike standalone LLMs, RAG systems expose diverse pipeline stages (document ingestion, indexing, retrieval, and generation), each of which may constitute a distinct attack surface.

Steve Nouyep, Sébastien Salva, and Maxime Puys

Several studies and surveys [2, 4, 6, 23, 26] examine these attacks, propose mitigation strategies, or discuss their associated risks. While these contributions provide valuable insights into RAG security threats, they often address individual aspects in isolation, contributing to a growing body of (often complex) documentation. As a result, it becomes increasingly difficult for security engineers to identify and select the most appropriate solution for a given context.

These solutions either address LLM application security generically (e.g., OWASP LLM Top 10 [23]) or analyze selected RAG threat classes; what remains less explored is a structured modeling approach that (i) systematically links pipeline components to weaknesses, attacks, risks, and Confidentiality, Integrity, Availability (CIA) impact, and (ii) adapts the assessment to concrete deployment configurations.

To help security engineers design secure RAG systems, it is essential to provide a structured and coherent view linking together RAG system types, attacks, weaknesses, risks, and mitigation strategies, while ensuring that this perspective remains adaptable to heterogeneous deployment contexts.

Contributions. To address this need, we propose in this paper:

  1. A security meta-model that specifies entities and relations capturing structural relationships among RAG components, attacks, weaknesses, risks, and CIA impact (Section 4), instantiated as a security catalog covering 3 RAG types, 8 attack surfaces, 38 attacks, 12 weaknesses, 41 risks, and 72 mitigations. It is publicly available at https://anonymous.4open.science/r/rag-mmsecu/.

  2. A context-dependent filtering mechanism that, given a RAG deployment configuration (e.g., network exposure, data source type), identifies the subset of applicable risks and produces a configuration-specific risk profile, illustrated on a multimodal e-commerce deployment (Section 5.2).

  3. Four complementary taxonomic views supporting distinct stakeholder roles (architect, CISO, pentester, DPO) (Section 5).

  4. An interactive web visualizer that operationalizes the meta-model: it renders the catalog as a navigable graph, lets users follow causal chains, applies the deployment filtering interactively, projects the four stakeholder views, and validates newly drafted attacks against the integration rules.

We designed the meta-model from the entity and relation types extracted through a structured analysis of 43 publications (2023–2026, plus the foundational RAG paper from 2020 [15]). We then instantiated it as a catalog populated with the security data collected from these publications, and derived the four stakeholder views from this catalog. This structured integration also revealed cross-cutting patterns, including a systematic imbalance between attack and defense research (Section 6).

Outline. The remainder of the paper is structured as follows. Section 2 presents background notions and reviews related work. Section 3 details the corpus construction. Section 4 introduces the meta-model, its iterative derivation, and its instantiation into the security catalog. Section 5 presents context- and

Figure

Fig. 1. The web visualizer rendering the security catalog as a causal chain, here focused on document-ingestion attacks: RAG type → surface → attacks → exploited weakness → mitigations. Per-column counters show the narrowing effect of the projection (e.g., 12 of 38 attacks). Filtering and views are detailed in Sections 5.2 and 5.

role-related views of the catalog, exposed through an interactive web visualizer. Section 6 discusses quality assessment, cross-cutting observations, a research agenda, limitations, and threats to validity. Section 7 concludes and outlines future directions.

References (23)