Skip to content
Align your AI

The problem space · Memory · Data leakage

Align your AI Memory against data leakage

What an assistant keeps between sessions can be sent out or read back by someone who should not have it.

Memory
what it keeps between sessions
Data leakage
private data going where it should not
Memory 9/15Data leakage 10/15The whole map

Ways it goes wrong

Memory keeps what users said, which gives attackers something to take. The page rests on one public case, a researcher's demonstration: his planted memory made ChatGPT send each later conversation to his server1. Research shows memory can also be read back directly: with crafted questions alone, researchers extracted private past interactions from two agents' memory2.

What people do about it

OpenAI fixed its macOS app so the data no longer left this way, though the researcher reports that planting memories still worked1. He advises reviewing stored memories regularly1. The researchers call for stronger memory safeguards in agents2.

  • Keep each user's memory separate

    Stops one user's session from retrieving what another user told the assistant.

  • Check outgoing addresses on the server

    Decides on the server, not in each app, which addresses an answer may load or link to.

  • Keep less

    Stores only what later tasks need and drops raw conversations.

Where we touch it

No study of ours covers this pair yet.

Sources

  1. Embrace The Red, “Spyware Injection Into Your ChatGPT's Long-Term Memory (SpAIware)”, 2024-09-20. https://embracethered.com/blog/posts/2024/chatgpt-macos-app-persistent-data-exfiltration/. Accessed 2026-10-23. ↩ ↩2 ↩3

  2. Wang et al., “Unveiling Privacy Risks in LLM Agent Memory”, arXiv 2502.13172. https://arxiv.org/abs/2502.13172. Accessed 2026-10-23. ↩ ↩2