Indirect Prompt Injection and credential theft in RAG architectures: how a “harmless” document ends up exfiltrating your cloud
In RAG architectures, a PDF can become a “control channel” for your agent: it injects instructions the model obeys and, if the runtime has broad permissions (S3/DB/email), the real consequence is data and credential exfiltration. This article breaks down the abuse, the architectural failure, and how to harden permissions and action flows without breaking the product.