News
Researchers Describe Method for Poisoning AI Agent Memory

Researchers at the University of Regina showed how malicious instructions implanted in an AI agent's persistent memory can lie dormant for weeks and activate only when triggered by the right cue.
AI agents that remember past conversations and decisions become more convenient to use, but that same memory opens up a new attack vector. Abbas Yazdinejad and Hadis Karimipour of the University of Regina described, in an article for The Conversation and in a study published in IEEE Access, how an attacker can inject false information into an agent's notebook and wait for the agent itself to act on it in a completely different context.
What memory poisoning is
Memory poisoning differs from classic prompt injection, which only corrupts a single model response. Here the target is the agent's persistent memory, the vector databases, conversation histories, and notes that the system draws on for later tasks. A false entry planted once can stay invisible for a long time and only surface when the agent encounters a situation where it actually uses it.
The authors stress that a poisoned agent appears to behave normally at first glance. There is no clear failure signal or error in the logs until a specific, pre-planned action is triggered. That makes the problem very difficult to catch in a typical security audit built around checking individual interactions.
Four attack techniques
Chain poisoning works by gradually inserting a series of seemingly harmless instructions into memory that only add up to a harmful command when combined. Policy rewriting swaps out the operating rules stored in the agent's memory, so that after a while it starts following different rules than the ones its operator originally set.
Backdoor triggering hides a condition in memory that only activates harmful behavior once a specific signal appears, such as a particular word in a user's query. Slow drift is the most drawn-out variant, in which the agent's behavior shifts in small increments until it strays far enough from its original settings that it becomes hard to pinpoint the moment control was actually seized.
Scale and methodology
To test how hard these attacks are to detect, the researchers ran 2,614 simulated scenarios spanning multiple consecutive agent interactions rather than single queries. The results showed that slow drift and backdoor triggering attacks are especially resistant to standard testing, since the harmful effect only emerges after a series of steps that, individually, are indistinguishable from normal system operation.
The study's conclusion is that AI agent security assessments need to track the entire sequence of actions rather than checking isolated snapshots of individual responses. The authors propose an approach called trajectory-aware security testing, which observes an agent across a string of consecutive tasks the way one follows a film's plot rather than a single frame.
Practical implications
The problem affects any system where an AI agent has access to persistent memory and can also take action, such as sending messages, running tools, or reaching into a company's resources. The more permissions such an agent has, the greater the consequences of a single poisoned entry waiting for its moment.
For companies deploying AI agents in customer service, process automation, or document handling, this means that checking individual input prompts alone is not enough. It becomes necessary to monitor what the agent stores in memory and how that stored content shapes decisions made much later, often in a completely different context than the one where the false data was originally injected.

