Interview Prep/Agentic AI/RAG & vector databases

What are common security risks in RAG?

AdvancedProductionRAG & vector databases
Answer

Indexed documents can contain prompt injections that steer the model, restricted data can leak if permissions are not filtered at query time, and poisoned documents can spread wrong answers. Sanitise and restrict sources, enforce access control in retrieval, mark retrieved text as untrusted data in the prompt, and monitor outputs.

All Agentic AI questions Roadmap: LLM fundamentals & RAG

More on RAG & vector databases