RAG: How outside documents can influence a company assistant
Retrieval does not automatically make content trustworthy. Incorrect information and concealed instructions are different risks.
Editorial review:
Background & source findings
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]
Scope & limitations
RAG guarantees neither accuracy nor protection from prompt injection. An incorrect answer is not by itself proof of an attack. [1]
In plain language
A hypothetical handbook may contain either incorrect guidance or an instruction to ignore the application’s rules. Both are problematic but need different investigation.
Practical recommendations
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.