Eyes-on-Me: Scalable RAG Poisoning through Transferable Attention-Steering Attractors
Abstract
Lay Summary
Many modern AI systems answer questions by looking up documents in an external digital library. However, this creates a major safety flaw: if a hacker sneaks just one malicious document into that library, they can trick the AI into generating harmful or false answers. Previously, creating these malicious documents was slow and expensive because hackers had to completely rewrite a new document from scratch for every single topic they wanted to target. Eyes-on-Me changes this by breaking the rogue document into two simple, swappable parts: one part acts like a magnet to trick the search engine into picking the document, while the second part contains the specific instructions that influence what the AI actually says. By solving the optimization problem just once, an attacker can swap out topics or malicious commands instantly at zero extra cost. This method improved attack success rates by 2.6 times over prior work and easily fooled major commercial AI systems. This research exposes a critical gap in AI safety, warning developers to better secure AI libraries before these scalable traps are exploited in the wild.