8
Attacks on RAG Systems
Imagine that your organization deployed a Retrieval-Augmented Generation system six months ago to handle internal IT support queries. The system indexes 10,000 documents from SharePoint, embeds them into a vector database, and retrieves relevant content to answer employee questions. The performance metrics look excellent, response quality scores consistently exceed 90 percent, employees report faster resolution times than the old ticket system, and security reviews found no obvious vulnerabilities. Then a routine audit discovers that for the past three weeks, the chatbot has been providing credentials to an internal staging database when employees ask about development environments. Nobody injected a prompt or broke any ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access