MITRE ATLAS 2026.10 · AML.T0085.002 · High severity
Data from AI Services: Conversation Context and Memory
Adversaries extract sensitive historical conversations, PII, or cross-user secrets retained in an agent's persistent memory or long-lived session context, either through shared-thread collisions, insecure debug endpoints, or prompt injection.
Technique dossier overview
- Category
- Prompt and context integrity
- Severity
- High
- Attack surface
- LLM / Prompt Layer · Tool-Using Agents & MCP
- Framework maturity
- Demonstrated
- Platforms
- Generative AI, Agentic AI
- Tactics
- Collection
- Catalog entry modified
How the mechanism works
- An assistant persists prior chats, user preferences, or shared workspace context into a memory store reloaded automatically on future turns.
- Through weak tenant isolation, shared session tokens, or injected instructions, an unauthorized caller accesses or forces dump of stored memories.
- Model completions reflect historical user discussions, personal attributes, or previously processed confidential snippets.
Detection & telemetry signals
- Prompts asking the model to print, export, or summarize all stored memory entries or prior unrelated session transcripts.
- Cache-key or session-ID telemetry revealing memory lookups returning records belonging to a different user or tenant ID.
- Output DLP alerts detecting historical user identifiers or cross-session secrets in newly started conversations.
Architectural defensive countermeasures
- Bind persistent memory and conversation history lookups strictly to authenticated, server-verified user and tenant IDs.
- Encrypt stored conversation transcripts and memory entries at rest and minimize retention windows with automatic TTL expiration.
- Prevent untrusted indirect context from triggering memory-read or bulk transcript export commands.
- Run integration tests verifying zero cross-tenant or cross-user leakage across shared caches, KV prompt caches, and resumed threads.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Leaking historical user conversations or persistent memory constitutes Sensitive Information Disclosure (LLM02) often triggered via prompt injection or weak session isolation (LLM01).
- NIST AI RMF functions
- NIST AI RMF guidance
- MAP all conversation-cache and persistent memory boundaries, MEASURE cross-session isolation under concurrency, and MANAGE privacy with tenant-keyed storage and strict TTL expiry.
Mapped defensive controls
- Validate AI Model AML.M0008
Run independent pre-release and post-fine-tuning assurance suites covering safety regressions, backdoor activation, alignment drift, and privacy leakage before promotion.
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
- Generative AI Guidelines AML.M0021
Codify explicit acceptable-use rules, prompt policy hierarchies, and refusal rubrics to steer model alignment and user expectations, recognizing text guidelines alone cannot stop attacks.
- Generative AI Model Alignment AML.M0022
Harden model weights via SFT, RLHF/DPO, deliberative alignment, and instruction-hierarchy training across base and fine-tuned revisions while monitoring residual safety drift.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
Published empirical measurements (3)
- Leakage rate · 98.59%
Evaluated on 10 LoCoMo conversations written by 1.5B-7B models; session-level summaries incur 73.0% forgetting radius unless bounded to 4-turn windows (3.8%).
- Model
- mem0 + 1.5B–7B LLM Memory Writers (LoCoMo)
- Evaluation
- LinEra Forgotten-Secret Recovery Benchmark (71 secrets across 10 conversations)
- Defense
- Baseline model
- Reported
- Sample
- 70 of 71
- Source and location
- Forget the Lineage: Forward-Secure, Lineage-Complete Cryptographic Erasure for LLM-Agent Memory · arXiv (author preprint; peer-review status not inferred) · Abstract / Secret Recovery Results (70/71, 67/71, 0/71)
- Evidence provenance
- Primary-source checked
- Leakage rate · 94.37%
Evaluated on 10 LoCoMo conversations written by 1.5B-7B models; session-level summaries incur 73.0% forgetting radius unless bounded to 4-turn windows (3.8%).
- Model
- mem0 + 1.5B–7B LLM Memory Writers (LoCoMo)
- Evaluation
- LinEra Forgotten-Secret Recovery Benchmark (71 secrets across 10 conversations)
- Defense
- Sandboxed tool policy
- Reported
- Sample
- 67 of 71
- Source and location
- Forget the Lineage: Forward-Secure, Lineage-Complete Cryptographic Erasure for LLM-Agent Memory · arXiv (author preprint; peer-review status not inferred) · Abstract / Secret Recovery Results (70/71, 67/71, 0/71)
- Evidence provenance
- Primary-source checked
- Leakage rate · 0%
Evaluated on 10 LoCoMo conversations written by 1.5B-7B models; session-level summaries incur 73.0% forgetting radius unless bounded to 4-turn windows (3.8%).
- Model
- mem0 + 1.5B–7B LLM Memory Writers (LoCoMo)
- Evaluation
- LinEra Forgotten-Secret Recovery Benchmark (71 secrets across 10 conversations)
- Defense
- Sandboxed tool policy
- Reported
- Sample
- 0 of 71
- Source and location
- Forget the Lineage: Forward-Secure, Lineage-Complete Cryptographic Erasure for LLM-Agent Memory · arXiv (author preprint; peer-review status not inferred) · Abstract / Secret Recovery Results (70/71, 67/71, 0/71)
- Evidence provenance
- Primary-source checked
Related technique records
Documented incidents & exercises (11)
- Claude Code GitHub Action Secret Exposure AML.CS0067 · Exercise · Jun 5, 2026 · High
MITRE ATLAS case study documenting how untrusted external repository triggers or issue payloads in automated CI coding agent workflows could leak workflow environment secrets when overly broad credential scopes are exposed.
- LeftoverLocals Multi-Tenant GPU Local Memory Leakage Across LLM Inference INC-2023-4969 · Incident · Jan 16, 2024 · High · Cloud & AI Infrastructure
CVE-2023-4969 (LeftoverLocals, disclosed by Trail of Bits on January 16, 2024) exposed a hardware/driver isolation vulnerability across Apple, Qualcomm, AMD, and Imagination GPU frameworks. Because GPU local memory buffers were not zeroed between kernel invocations from…
- Open WebUI IDOR Allowing Cross-User Access to Private Persistent Memories INC-2026-29071 · Incident · Mar 26, 2026 · High · Enterprise SaaS & Productivity
CVE-2026-29071 disclosed an insecure direct object reference (IDOR) vulnerability in Open WebUI's persistent memory management APIs. Authenticated users could enumerate or supply another user's memory identifiers to read or tamper with private cross-session context memories…
- DeepSeek Publicly Exposed ClickHouse Database Leaking 1M+ Chat Logs and API Keys INC-OBS-017 · Incident · Jan 29, 2025 · Critical · Consumer AI & Local Runtimes
On January 29, 2025, Wiz Research disclosed an unauthenticated, internet-accessible ClickHouse database hosted on DeepSeek subdomains (`oauth2callback.deepseek.com` and `dev.deepseek.com`) right as DeepSeek R1 surged to the top of global app charts. Without any credentials,…
- Rabbit R1 AI Hardware Companion Hardcoded ElevenLabs and Cloud API Keys Leak INC-OBS-020 · Incident · Jun 25, 2024 · Critical · Consumer AI & Local Runtimes
On June 25, 2024, the reverse-engineering collective Rabbitude publicly disclosed that Rabbit Inc. had shipped hardcoded, high-privilege third-party API keys directly inside its `r1` AI companion codebase (initially accessed May 16, 2024). The leaked credentials included…
- OpenAI ChatGPT March 2023 Redis Cache Bug Exposing Chat Titles and Billing Data INC-OBS-039 · Incident · Mar 20, 2023 · Critical · Consumer AI & Local Runtimes
On March 20, 2023, OpenAI took ChatGPT offline for roughly nine hours after a concurrency bug in the open-source `redis-py` async client library corrupted connection-pool response multiplexing under load. When an async request was canceled mid-flight, the shared Redis…
- Samsung Semiconductor Employees Leaking Proprietary Code Into Public ChatGPT Sessions INC-OBS-041 · Incident · May 2, 2023 · High · Enterprise SaaS & Productivity
Reported in April 2023 and culminating in a company-wide corporate ban on May 2, 2023, engineers in Samsung Electronics' Device Solutions (semiconductor) division inadvertently leaked confidential corporate IP across three separate incidents within weeks of lifting internal…
- ChatGPT macOS Desktop App Storing Unencrypted Plaintext Chat Logs Outside Sandbox INC-OBS-042 · Incident · Jul 3, 2024 · Elevated · Consumer AI & Local Runtimes
On July 3, 2024, developer Pedro Jose Pereira Vieito publicly demonstrated that OpenAI's official ChatGPT macOS desktop application bypassed Apple's App Sandbox and stored complete user conversation histories in unencrypted plaintext JSON files inside `~/Library/Application…
- OmniGPT Multi-Model Platform Breach Exposing 34 Million User Chat Messages INC-OBS-048 · Incident · Feb 4, 2025 · Critical · Consumer AI & Local Runtimes
In early February 2025, threat actor 'Gloomer' offered for sale on BreachForums a database exfiltrated from OmniGPT, a multi-model AI wrapper providing unified access to GPT-4, Claude, and other LLMs, containing approximately 34 million lines of user chat logs, 30,000 user…
- Microsoft Windows Recall Continuous Screenshot Feature Delayed After Security Backlash INC-OBS-070 · Incident · Jun 7, 2024 · High · Consumer AI & Local Runtimes
Following its May 2024 Build announcement of Windows Recall, a Copilot+ PC feature capturing continuous desktop screenshots every few seconds and indexing extracted OCR text in a local SQLite database, security researchers including Kevin Beaumont demonstrated that commodity…
- LinEra Forward-Secure Cryptographic Erasure for LLM-Agent Memory OBS.EX0111 · Exercise · Nov 13, 2026 · mem0 + 1.5B-7B LLMs on LoCoMo Conversations · Post-Deletion Secret Recovery Audit
Ameur et al. (2026) evaluated memory persistence vulnerabilities in long-term LLM agent stores (integrated with mem0 across 1.5B-7B models on LoCoMo conversations) where logical message deletion leaves derived summaries, facts, and embeddings recoverable. An adversary holding…
Source citation records
- MITRE ATLAS: Conversation Context and Memory · MITRE ·
- Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations · Cited by MITRE ATLAS; publisher not independently verified
- LLM02:2025 Sensitive Information Disclosure · Cited by MITRE ATLAS; publisher not independently verified
- LLM01:2025 Prompt Injection · OWASP GenAI Security Project ·
- Forget the Lineage: Forward-Secure, Lineage-Complete Cryptographic Erasure for LLM-Agent Memory · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is Data from AI Services: Conversation Context and Memory (AML.T0085.002)?
- Adversaries extract sensitive historical conversations, PII, or cross-user secrets retained in an agent's persistent memory or long-lived session context, either through shared-thread collisions, insecure debug endpoints, or prompt injection.
- How do you mitigate Data from AI Services: Conversation Context and Memory?
- MITRE ATLAS maps 5 mitigations to AML.T0085.002: Validate AI Model, Generative AI Guardrails, Generative AI Guidelines, Generative AI Model Alignment, and AI Red Team. Bind persistent memory and conversation history lookups strictly to authenticated, server-verified user and tenant IDs.