Implementation Guide

    Applying ISO/IEC 42005 Impact Assessment to RAG Systems

    To apply ISO/IEC 42005 to a RAG system, scope the assessment around the retrieval data path: sources, index, retrieval, context assembly, generation and response. Record where sensitive or out-of-scope data can be exposed at each stage, describe the foreseeable impacts on individuals and the organization, then assign each exposure risk a runtime decision (allow, redact, block or escalate) and the evidence that shows the decision was applied to real interactions.

    Exposure pathways along the RAG data path

    1. 1

      Source

      Internal document stores, knowledge bases and connected applications. Record owner, data classification, and whether privileged or regulated content is present.

    2. 2

      Index and embeddings

      Vector indexes can hold content derived from sources. Record whether source permissions are carried into the index or lost at ingestion.

    3. 3

      Retrieval

      The point where a query is matched to content. Record whether access is checked against the requesting user at query time.

    4. 4

      Context assembly

      Retrieved passages are combined with the prompt. Record what is filtered, redacted or truncated before the model sees it.

    5. 5

      Generation

      The model may restate sensitive content from context. Record which content classes the model should never be given.

    6. 6

      Response

      Output reaches a user or a downstream system. Record who can see it and whether content from one user's access can appear for another.

    What ISO/IEC 42005 provides and what it leaves to you

    ISO/IEC 42005:2025 gives organizations guidance for assessing how an AI system and its foreseeable applications may affect individuals, groups or society. It recommends performing assessments across the lifecycle, from design and development through deployment and post-market monitoring, and updating them as needed. It applies to any organization developing, providing or using AI systems.

    The standard is a method for a single system. It does not tell you how a RAG architecture should be decomposed. Source inventory, permission handling at retrieval time and cross-user leakage are scoping choices your team makes and defends. Treat the headings in this guide as one reasonable way to make those choices, not as requirements of the standard.

    Where you operate an ISO/IEC 42001 management system, ISO describes 42001 as making impact assessments a consistent and required part of governance, with 42005 making them thorough, systematic and actionable. In practice, each exposure finding should link to a risk treatment in that process, so the assessment feeds a control rather than sitting beside it.

    Scoping the assessment for a RAG system

    Begin with the system's foreseeable applications and the people it touches: users asking questions, individuals whose data sits in retrieved documents, and the organization carrying regulatory and contractual obligations. A source that is harmless for one application can be a serious exposure for another, so the assessment should name the intended uses and the uses that are foreseeable but out of scope.

    Then build the inventory of retrieval sources as an assessment input, not an appendix. Each entry needs an owner, a classification, a statement of who may see its content, and the mechanism that enforces that statement at retrieval time. Gaps in that last field are usually where the most significant findings come from.

    Finally, set update triggers. Because assessments are meant to be updated through deployment and monitoring, define events that reopen the document: a new or changed source, a new user population, a change to the index or embedding process, or an incident.

    • Name intended and foreseeable uses, and the affected individuals and groups
    • Inventory sources, indexes and connected applications with owner and classification
    • Document permission inheritance from source to index to retrieval
    • Describe impacts of each exposure pathway on individuals and the organization
    • Define update triggers and link findings to risk treatments

    Mapping exposure risks to runtime decisions and evidence

    A finding becomes a control when it is assigned a decision that can be applied to an individual interaction. Four decisions cover most RAG exposure risks. The evidence column is what you should be able to produce for a specific interaction, which is different from a policy document stating what should have happened.

    • Allow: Retrieval is within the user's entitlement and the source is in scope. Evidence: the interaction, the sources retrieved, the policy version applied and the decision.
    • Redact: Retrieved context or a response contains sensitive fields the user should not receive. Evidence: the content class matched, what was removed, and where in the path it occurred.
    • Block: A source is out of policy or the user lacks entitlement. Evidence: the attempted retrieval, the rule that stopped it and confirmation that nothing reached the model or user.
    • Escalate for human approval: A request touches privileged or ambiguous content. Evidence: the request, the reviewer, the outcome and the time of decision.

    What the assessment documents and what must be enforced continuously

    A point-in-time assessment documents reasoning: the sources in scope, the pathways identified, the impacts considered, the risk treatments chosen and the people accountable. It is a snapshot of what the team understood and decided on a given date.

    It cannot show that a control operated on Tuesday's request from a particular user. That requires enforcement at the moment of retrieval and response, and a record produced by that enforcement. ISO's reference to monitoring AI performance and impacts under 42001 supports this continuous element, though the exact division between the two is for your organization to define.

    A useful test is to take each treatment in the assessment and ask two questions. Is it enforced on each interaction, or only described? And if enforced, can someone retrieve the record for a given interaction? Treatments that fail the first question are documentation-only and should be labeled that way, so reviewers do not assume more coverage than exists. Treatments that fail the second are controls you cannot currently demonstrate.

    The tradeoff is operational. Enforcing at runtime adds decision points and review load, particularly for escalation, so decisions should be reserved for the exposures the assessment ranks highest and tuned as real traffic shows where policies are too broad or too narrow.

    One implementation option: enforcement in the execution path

    Some teams enforce these decisions inside the application code that performs retrieval. Others apply policy in the execution path between users, models, agents and tools, so rules are written once and applied across systems. The second approach is the one Trussed takes. Trussed enforces policy in the execution path across models, agents, tools, MCP servers, AI sites and coding assistants, with the decisions allow, redact, block, rate limit and escalate for human approval, applied to individual interactions and tool calls.

    For a RAG system, the practical question is whether retrieval and generation pass through a point where policy can be applied. Where they do, the assessment's findings can be written as rules and enforced at runtime, not reviewed after the fact. The enforcement itself generates audit-ready evidence, which Trussed maps to frameworks including HIPAA, NAIC, NYDFS, the EU AI Act and NIST. Deployment is self-managed in the customer cloud, with configurable retention and data residency.

    This addresses runtime control and evidence for individual interactions and tool calls. It does not replace the assessment, which remains the place where scope, impacts and accountability are decided.

    RAG data path as assessment structure

    Source and index

    Inventory what is retrievable and how permissions are carried.

    Retrieval and context assembly

    Decide what reaches the model for each user and request.

    Generation and response

    Check what the output surfaces and to whom.

    Runtime decision and evidence

    Allow, redact, block or escalate, with a record per interaction.

    Turn assessment findings into enforced, evidenced controls

    Review how policy enforcement in the execution path can apply your RAG exposure decisions to individual interactions and produce audit-ready evidence.

    Request a Demo
    Next step

    How does your AI governance program compare?

    See where your program has gaps in less than 2 minutes.