mlsanityData to 14 Oct 2026

Detokenization Leaks: Reconstructing Local LLM Outputs From Cache Traces

arXiv 2609.06674 ↗First posted 6 Sep 2026cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

We present a new attack that reconstructs the text generated by locally hosted LLMs by observing CPU cache activity during detokenization. Unlike prior attacks that rely on deployment-specific assumptions, such as shared data memory, CPU offloading, or Mixture-of-Experts architectures, our approach targets the detokenizer, a component used in default LLM inference pipelines. To obtain clean signals, we use Flush+Reload on shared tokenizer code to detect when decoding occurs, which lets us perform Prime+Probe at the right moment and isolate token-dependent cache activity. We then apply a clustering-and-language-model pipeline to recover text from noisy cache observations. We evaluate the attack across multiple datasets, hardware platforms, inference frameworks, and model families, and show that it can recover semantically accurate outputs from real-world local LLM deployments, including agentic systems. This vulnerability is particularly significant because the most widely used tokenizer implementations are susceptible to the attack and are embedded in many popular local LLM products and agent frameworks, including systems such as OpenClaw (which we demonstrate), substantially broadening the practical attack surface.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 22 of its 70 references that are in the map. First posted on arXiv 6 Sep 2026.

Builds on

22 of 70 references.

References · 22

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  5. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  6. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  7. 2024A Survey on LLM-as-a-Judgecited by 1,423
  8. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
  9. 2021Deduplicating Training Data Makes Language Models Bettercited by 714
  10. 2023ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledgecited by 325
  11. 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 251
  12. 2024PLeak: Prompt Leaking Attacks against Large Language Model Applicationscited by 127
10 more
  1. 2024Fast On-device LLM Inference with NPUscited by 62
  2. 2024The Early Bird Catches the Leak: Unveiling Timing Side Channels in LLM Serving Systemscited by 29
  3. 2024What Was Your Prompt? A Remote Keylogging Attack on AI Assistantscited by 26
  4. 2025On the Effectiveness of LLM-as-a-judge for Code Generation and Summarizationcited by 18
  5. 2024Reconstruct Your Previous Conversations! Comprehensively Investigating Privacy Leakage Risks in Conversations with GPT Modelscited by 16
  6. 2025MoEcho: Exploiting Side-Channel Attacks to Compromise User Privacy in Mixture-of-Experts LLMscited by 13
  7. 2015Flush+Flush: A Fast and Stealthy Cache Attackcited by 10
  8. 2023DeepTheft: Stealing DNN Model Architectures through Power Side Channelcited by 10
  9. 2019SMoTherSpectre: exploiting speculative execution through port contentioncited by 2
  10. 2021Automated Side Channel Analysis of Media Software with Manifold Learningcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Can Transformer Memory Be Corrupted? Investigating Cache-Side Vulnerabilities in Large Language Models
  2. 2026Governing the KV Cache: Preventing Timing Side-Channel Leakage in Multi-Tenant LLM Inference
  3. 2025Shadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inference
  4. 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Caching
  5. 2026Observable Channels, Not Just Storage: Evaluating Privacy Leakage in LLM Agent Pipelines
  6. 2026Isolated but Exposed: Persistence-Based Memory Extraction Attack on LLM Agents
  7. 2026Evaluation and Hardening of LLM System Instructions Against Extraction via Encoding Attacks
  8. 2025Selective KV-Cache Sharing to Mitigate Timing Side-Channels in LLM Inference