An agent that remembers you doesn't start from zero every session. Something you said weeks ago can shape an answer today — which also means something anyone said weeks ago, if it got written to memory, can too.
A memory-enabled assistant keeps a small store of facts it has picked up about you, and prepends relevant ones to future conversations — same mechanism as a system prompt or a retrieved document, just written by a past session instead of a current one.
Check the facts worth remembering about this user, then ask for a recipe recommendation.
You just saw a good memory make a later answer better. Here's the same mechanism with one entry that didn't come from the user at all — it came from a message designed to look like it did.
This agent's memory store already has four entries, written across past sessions. One was never actually said by the user — it was smuggled in from a message that looked like a casual aside. Flag it.
What just happened: the poisoned entry didn't come from a jailbreak in the moment — it was written once, quietly, and then trusted by every session after it, including one you never saw happen.
Why it works: a memory-writer that saves "facts" from conversation text has no way to tell a genuine user preference from an instruction dressed up as one — and once saved, that entry gets the same trust as anything the user said directly, in every future session.
The fix: treat memory writes as a privileged action needing stronger evidence than a single conversational turn (confirm with the user before persisting anything), distinguish stored facts by provenance and let the user review and delete entries, and never let a stored memory entry alone authorize an action with a side effect — a purchase link, a payment detail, a destination.