← Torna al blog
Minacce IAMedia

RAG: How outside documents can influence a company assistant

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

Revisione editoriale:

In questa versione del sito il testo dell’articolo è disponibile in inglese.

Contesto e fonti

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]

Ambito e limiti

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

Spiegato in modo semplice

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

Raccomandazioni pratiche

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.

Fonte primaria / riferimento

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