Context poisoning is the manipulation of an AI system’s stored memory, retrieved documents, or shared state so that later responses or tool actions are influenced by false or malicious context. In agentic systems, the poisoned data may be a long-term memory entry, a conversation summary, a retrieval source, or a workflow variable that the model trusts as background information.
This matters because the AI may act on the poisoned context without an obvious prompt attack in the current turn. An attacker can plant misleading instructions, alter task state, or seed bad assumptions so the agent makes wrong decisions, leaks data, or calls tools in unsafe ways. Defenses include separating memory by user or task, validating retrieved content, minimizing what is stored, treating shared state as untrusted, and logging which context items influenced each action. In practice, context poisoning is a governance problem as much as a model problem.


