← Retour au blog
Menaces IAMoyenne

RAG: How outside documents can influence a company assistant

Retrieval does not automatically make content trustworthy. Incorrect information and concealed instructions are different risks.

Révision éditoriale :

Le texte de cet article est disponible en anglais dans cette version du site.

Contexte et sources

Retrieval-augmented generation supplies retrieved content to a model. OWASP describes manipulated repository documents changing an answer through inserted instructions. [1] Incorrect factual material is a different issue from attempted instruction injection. The German authorities’ guidance also calls for assessing an AI application’s specific data handling. [2]

Portée et limites

RAG guarantees neither accuracy nor protection from prompt injection. An incorrect answer is not by itself proof of an attack. [1]

En termes simples

A hypothetical handbook may contain either incorrect guidance or an instruction to ignore the application’s rules. Both are problematic but need different investigation.

Recommandations pratiques

We recommend controlling document import and modification, preserving provenance and versions, and testing significant changes. Enforce user-specific access during retrieval. Show traceable sources and check whether they actually support the answer. A citation is most useful when readers can locate the relevant passage, not merely open a document homepage.

Source primaire / référence

  1. [1] OWASP LLM01:2025: Prompt Injection
  2. [2] DSK (06.05.2024): Künstliche Intelligenz und Datenschutz, Version 1.0