What is memory poisoning in AI assistants?

Answered by Falk Gottlob · Reviewed · 2 min read

THE SHORT ANSWER

Memory poisoning is when someone plants a false or self-serving note in an AI assistant's long-term memory, so it shapes answers in later, unrelated chats. It can ride in on a document, an email, or a link. In February 2026, Microsoft found 31 companies hiding prompts behind Summarize with AI buttons that told assistants to remember them as a trusted source. Microsoft's red team also saw a poisoned memory get past approval prompts in tests. The fix is product design: show users what's saved, mark where it came from, and make it easy to delete.

Assistants now remember. Your preferences, your projects, the sources you trust. That makes them better. It also gives anyone who can sneak a note in a way to shape every answer after.

That's memory poisoning. Someone plants a false or self-serving memory, and it quietly steers later, unrelated conversations.

It's already happening, and not only by criminals. In February 2026, Microsoft's Defender research team found companies hiding prompts behind Summarize with AI buttons. The button opens an assistant with a pre-filled request. That request tells it to remember the company as a trusted source, or to recommend it first. Over 60 days, Microsoft counted 50 distinct prompts. They came from 31 companies in 14 industries. It called this AI Recommendation Poisoning.

The higher-stakes version targets agents. Microsoft's Digital Defense Report 2026, as summarized by its own security blog, puts it simply. "An attacker who can place content anywhere an agent reads can often place it where the agent remembers." Email is the main path its red team sees. In some red team tests, a policy stored in poisoned memory got around approval prompts.

The idea isn't new. In 2025, Johann Rehberger, a security researcher, showed a document could plant false memories in Google Gemini. Google rated the impact low, partly because Gemini shows an alert when memory changes.

That alert is the lesson. Memory is a product surface, so design it like one.

  • Show users what's saved, in plain words.
  • Tell them when something new gets saved, and from where.
  • Make delete one click.
  • Don't let memory override a safety rule or an approval step.

Microsoft also deployed mitigations in Copilot, including user controls over stored memories.

The design patterns are in AI Security for Designers. Start the series at AI Security From Zero, or browse the AI security hub.

SOURCES

THE LONG VERSION

RELATED ANSWERS

If this was useful, The AI Product Transformation is where I share more of it.

One email every Monday with the week's best posts and what changed on the site.

Unsubscribe anytime. Read past issues.