I Know What You Said: Unveiling Hardware Cache Side-Channels in Local Large Language Model Inference
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) that can be deployed locally have recently gained popularity for privacy-sensitive tasks, with companies such as Meta, Google, and Intel playing significant roles in their development. However, the security of local LLMs through the lens of hardware cache side-channels remains unexplored. In this paper, we unveil novel side-channel vulnerabilities in local LLM inference: token value and token position leakage, which can expose both the victim's input and output text, thereby compromising user privacy. Specifically, we found that adversaries can infer the token values from the cache access patterns of the token embedding operation, and deduce the token positions from the timing of autoregressive decoding phases. To demonstrate the potential of these leaks, we design a novel eavesdropping attack framework targeting both open-source and proprietary LLM inference systems. The attack framework does not directly interact with the victim's LLM and can be executed without privilege. We evaluate the attack on a range of practical local LLM deployments (e.g., Llama, Falcon, and Gemma), and the results show that our attack achieves promising accuracy. The restored output and input text have an average edit distance of 5.2% and 17.3% to the ground truth, respectively. Furthermore, the reconstructed texts achieve average cosine similarity scores of 98.7% (input) and 98.0% (output).
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). First posted on arXiv 10 May 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026OptiLeak: Efficient Prompt Reconstruction via Reinforcement Learning in Multi-tenant LLM Servicescited by 1
- 2026GRIP: Algorithm-Agnostic Machine Unlearning for Mixture-of-Experts via Geometric Router Constraintscited by 0
- 2026Shape and Substance: Dual-Layer Side-Channel Attacks on Local Vision-Language Modelscited by 0
- 2026SparSEEty: Extracting Tokens from Sparsity-Exploiting LLM Serving Systems via Deterministic Side Channelscited by 0
- 2026Hardware Design and Security in the Era of Chiplets and LLMscited by 0
- 2026LLMscope: Extracting LLM Assets from Edge AI Chips via Optical Probingcited by 0
- 2026From Acoustic Sensing to Physical Actions: A Comprehensive Survey of Security Risks in Edge-Deployed Audio LLM-Based Agentscited by 0
- 2026From Acoustic Sensing to Physical Actions: A Comprehensive Survey of Security Risks in Edge-Deployed Audio LLM-Based Agents11 Oct 2026
- 2026LLMscope: Extracting LLM Assets from Edge AI Chips via Optical Probing26 Aug 2026
- 2026Hardware Design and Security in the Era of Chiplets and LLMs5 Aug 2026
- 2026SparSEEty: Extracting Tokens from Sparsity-Exploiting LLM Serving Systems via Deterministic Side Channels4 Aug 2026
- 2026Shape and Substance: Dual-Layer Side-Channel Attacks on Local Vision-Language Models26 Mar 2026
- 2026OptiLeak: Efficient Prompt Reconstruction via Reinforcement Learning in Multi-tenant LLM Services24 Feb 2026
- 2026GRIP: Algorithm-Agnostic Machine Unlearning for Mixture-of-Experts via Geometric Router Constraints23 Jan 2026