Logo image
Hub-based memory poisoning: query-blind attacks on retrieval-augmented LLM agents : a thesis in Computer Science
Thesis   Open access

Hub-based memory poisoning: query-blind attacks on retrieval-augmented LLM agents : a thesis in Computer Science

Aidan Root
Master of Science (MS), University of Massachusetts Dartmouth
2026
DOI:
https://doi.org/10.62791/20609

Abstract

Memory in Artificial Intelligence (AI) agents has seen rapid adoption in recent years, and many of them now include a memory database that allows them to store information about their users and reference it in separate conversations. However, this feature also creates a new attack surface, where adversaries can inject poisoned memories into the database of an agent in order to degrade its performance. Previous research in this area has focused on attacks that either insert poisoned memories directly into the memory store, or assume that the attacker knows in advance which questions the agent will be asked. This thesis attempts to poison a memory database without either of those capabilities, relying only on conversation history that has already been stored in memory and on knowledge of the type and retrieval policy of the memory system. From this corpus, it selects up to k conversations using closeness to the hubs of the memory database, regions of the embedding space where many unrelated user queries tend to retrieve from, as the guiding selection criterion. Conversations chosen this way are disproportionately retrieved across a wide range of future queries, displacing legitimate context and broadly degrading the agent’s responses. Results show that this is an effective way to reduce overall AI agent performance with minimal information about the agent itself. This research demonstrates that the embedding geometry of retrieval-based memory systems is itself a vulnerability: an adversary can exploit the structure of the embedding space without ever needing to know what the agent will be asked.
pdf
Root A. COE MS Thesis 2026288.67 kBDownloadView
Open Access

Metrics

1 Record Views

Details

Logo image