Practical guidance on securing AI agents, tools, and the systems they act on, written by the team building the trust layer for AI agents.
The ingestion pipeline is where access metadata, classification, and content review happen once, and mistakes made there propagate to every future retrieval.
Protecting confidential documents in RAG means deciding what should be indexed at all, then enforcing access, redaction, and retention deliberately for the rest.
Metadata filtering in retrieval is often built for relevance, but when it carries access rights it becomes a security control that has to be treated as one.
Multi-tenant RAG isolation needs a mandatory tenant scope enforced structurally at the query layer, not an optional filter application code can forget to apply.
A vector database needs the same authentication, network isolation, and access control as any sensitive data store, plus tenant scoping built into its schema.
Data leakage from RAG comes from unfiltered retrieval, over-broad context inclusion, and responses that imply sensitive details, not just direct data breaches.
Document poisoning plants manipulative content in a source that feeds retrieval, waiting for a relevant query to deliver the payload into a model's context.
Access control for RAG has to filter candidate documents by the requesting user's permissions before ranking by relevance, not after, or authorization does not hold.
RAG adds a data path into the model that bypasses conventional query-time access control, turning every writable content source into a potential injection vector.
RAG security protects the retrieval pipeline that feeds a model context, covering access control before retrieval, document integrity, and data isolation.
A consolidated LLM security review checklist covering injection, output handling, data exposure, tool authorization, and monitoring, drawn from the risks that recur most.
Multi-turn attacks build a manipulative premise across several messages, which defeats single-message filtering and requires evaluating conversations as a whole.