ChatGPT: Hacking Memories with Prompt Injection
The ChatGPT memory feature could be manipulated through indirect prompt injection, allowing an attacker to make the assistant store false information, bias, or instructions, or to delete all memories. The text claims this is possible but does not provide reproduction steps or technical detail.
embracethered.com
Published on embracethered.com
OpenAI recently introduced a memory feature in ChatGPT, enabling it to recall information across sessions, creating a more personalized user experience.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the memory feature trusts and stores content derived from untrusted input without separating instructions from data, so injected text can become a persistent memory.
Impact
An attacker could cause the assistant to remember false information, bias, or instructions, or to delete all memories, though the text gives no proof or demonstration.
What the attacker needed
ChatGPT memory feature enabled; attacker can influence content the AI reads
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
ChatGPT can now remember things about you between chats. An attacker could trick it into remembering something false or harmful, or into forgetting everything, by hiding instructions in content the assistant reads. This is called indirect prompt injection because the malicious instructions come indirectly through something the AI processes.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.