Backdoor in the Loop: Compromising Agentic Search via Malicious Retrievers
Abstract
Agentic retrieval-augmented generation (RAG) interleaves reasoning with repeated retrieval, giving the retriever influence over both the evidence an agent observes and its subsequent search decisions. We study retriever backdoors that exploit this feedback loop and repurpose weak backdoor purification to conceal their presence. An attacker supplies a compromised retriever checkpoint while leaving the search agent and deployment corpus unchanged. Without corpus write access, the attacker can still suppress useful evidence, persistently retrieve a selected existing document, or steer the agent toward prolonged search, inflating retrieval, context, and latency cost. To conceal these behaviors from detection, we propose leveraging a controlled inject-and-remove cycle: deliberately inject a weaker backdoor and then unlearn it. This process weakens detector-visible signatures and fools the backdoor detectors with an illusion of purification while preserving the malicious retrieval behavior. These findings expose a systematic vulnerability in RAG systems in which a weak defense becomes an attacker's concealment tool for a backdoored retriever, even when the underlying corpus remains trustworthy.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI, cs.IR, cs.LG
- Comments
- 24 pages, 13 tables, 4 figures
Related papers
The Refusal Loop: When Enforcement Undermines Authorization in LLM Agent
Shared title terminologycs.CRDuo Zhou
A Persuaded Agent Cannot Persuade the Checker: Verified Differential Privacy Configuration by LLM Agents under Malicious Requesters
Shared title terminologycs.CRWenjun Yang, Eyhab Al-Masri, Tianhao Wang
Forensic Visibility of Malicious Model Context Protocol (MCP) Servers: An Empirical Study Across Agent and Kernel Trust Boundaries
Shared title terminologycs.CRCesar R. Beltrán-Hernández
Quantization Enables Private Dense Retrieval against Malicious Service Providers
Shared title terminologycs.CRLouis Tremblay Thibault, Sofiane Azogagh, Marc-Olivier Killijian et al.
VulContextBench: A Benchmark for Security Context Retrieval in Coding Agents
Shared title terminologycs.CRYikun Li, Jinfeng Jiang, Yuheng Yieh et al.
SilentCall: Hidden Tool-Call Backdoors in Open-Weight Agents, and How to Catch Them
Shared title terminologycs.CRBhanu Pallakonda, Mikkel Hindsbo, Sina Ehsani et al.