Documented Exercise · AML.CS0040 · High severity
Hacking ChatGPT's Memories with Prompt Injection
Disclosed in February 2024 ("ChatGPT: Hacking Memories with Prompt Injection"), researchers showed how obfuscated indirect prompt injection inside a browsed webpage, uploaded file, or external text could coerce ChatGPT into invoking its persistent Memory tool. Once malicious instructions were saved into long-term memory, they survived across all future conversations, enabling persistent manipulation or ongoing data exfiltration.
Exercise dossier metadata
- Case ID
AML.CS0040- Classification
- Exercise
- Date
- Severity
- High
- Sector
- Consumer & Enterprise Chatbots
- Attack vector
- Persistent Memory Poisoning via Indirect Prompt Injection
- System type
- Conversational LLM with long-term Memory feature (ChatGPT)
- CVE / reference
AML.CS0040- Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.CS0040%3A
Defensive takeaway
Require explicit user confirmation before persisting assistant memories triggered during third-party content processing, audit memory entries for directive patterns, and provide clear memory provenance and rollback.
Mapped AI security techniques
- External Harms: User Harm AML.T0048.003
- LLM Prompt Injection: Indirect AML.T0051.001
- LLM Prompt Crafting AML.T0065
- LLM Prompt Obfuscation AML.T0068
- AI Agent Context Poisoning: Memory AML.T0080.000
- Prompt Infiltration via Public-Facing Application AML.T0093
Source citation records
- MITRE ATLAS: Hacking ChatGPT's Memories with Prompt Injection · MITRE ·
- ChatGPT: Hacking Memories with Prompt Injection · Cited by MITRE ATLAS; publisher not independently verified