← Voltar ao blog
Ameaças IAMédia

RAG: How outside documents can influence a company assistant

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

Revisão editorial:

O texto deste artigo está disponível em inglês nesta versão do site.

Contexto e fontes

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]

Âmbito e limites

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

Explicação 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.

Recomendações práticas

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 primária / referência

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