Open Agent School · Public worked example

Memory poisoning: meaning and example

Welcome! Take one idea with you today.

Planting malicious content in an agent’s memory or knowledge source so it can influence later tasks.

Picture it: A fictional assistant saves an untrusted document’s instruction as a preference and reuses it next session.

What is easy to mix up?

Persistent influence differs from a one-turn injection. Check provenance, memory writes and later retrieval, not just the current answer.

Teaching example by Open Agent School. Source: NIST SP 2400-102e2026.ipd — Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations (November 2026, Initial Public Draft); PDF p. 81.