AI RESEARCH
CleanBase: Detecting Malicious Documents in RAG Knowledge Databases
arXiv CS.LG
•
ArXi:2605.00460v1 Announce Type: cross Retrieval-augmented generation (RAG) is vulnerable to prompt injection attacks, in which an adversary inserts malicious documents containing carefully crafted injected prompts into the knowledge database. When a user issues a question targeted by the attack, the RAG system may retrieve these malicious documents, whose injected prompts mislead it into generating attacker-specified answers, thereby compromising the integrity of the RAG system. In this work, we propose CleanBase, a method to detect malicious documents within a knowledge database.