With the growing adoption of retrieval-augmented generation (RAG) systems, various attack methods have been proposed to degrade their performance. However, most existing approaches rely on unrealistic assumptions in which external attackers have access to internal components such as the retriever. To address this issue, we introduce a realistic black-box attack based on the RAG paradox, a structural vulnerability arising from the system's effort to enhance trust by revealing both the retrieved documents and their sources to users. This transparency enables attackers to observe which sources are used and how information is phrased, allowing them to craft poisoned documents that are more likely to be retrieved and upload them to the identified sources. Moreover, as RAG systems directly provide retrieved content to users, these documents must not only be retrievable but also appear natural and credible to maintain user confidence in the search results. Unlike prior work that focuses solely on improving document retrievability, our attack method explicitly considers both retrievability and user trust in the retrieved content. Both offline and online experiments demonstrate that our method significantly degrades system performance without internal access, while generating natural-looking poisoned documents.
翻译:随着检索增强生成(RAG)系统的日益普及,已有多种攻击方法被提出以降低其性能。然而,现有方法大多依赖于不切实际的假设,即外部攻击者能够访问检索器等内部组件。为解决这一问题,我们提出了一种基于RAG悖论的现实黑盒攻击,该漏洞源于系统为增强可信度而向用户展示检索到的文档及其来源的结构性弱点。这种透明度使攻击者能够观察所使用的来源及信息表述方式,从而制作更可能被检索到的污染文档并上传至已识别的来源。此外,由于RAG系统直接将检索内容提供给用户,这些文档不仅需具备可检索性,还必须呈现自然可信的外观以维持用户对搜索结果的信任。与以往仅关注提升文档可检索性的研究不同,我们的攻击方法明确考虑了检索内容的可检索性与用户信任度。离线和在线实验均表明,该方法在无需内部访问权限的情况下显著降低了系统性能,同时能生成外观自然的污染文档。