Security teams assess RAG and MCP prompt injection risks

formal.ai13 min read

RAG and MCP represent different layers in AI architectures, with RAG serving as a prompt-building technique for static documents and MCP operating as a live protocol for tools and resources. Security teams must treat both retrieved passages and tool results as untrusted input prone to prompt injection. Furthermore, indexing documents often strips away source-level access controls, requiring careful permission management within the index, the server, or through a proxy. Open article →