Documented Exercise · OBS.EX0109

Hardware Cache Side-Channel Eavesdropping on Local LLM Inference

Gao et al. (2025) evaluated unprivileged hardware cache side-channel leakage during local open-weight LLM inference across Llama, Falcon, and Gemma deployments by monitoring token-embedding cache accesses and autoregressive decoding timing. Without direct interaction or elevated OS privileges, the passive eavesdropping framework reconstructed victim outputs and inputs with 5.2% and 17.3% average edit distances and 98.7% (input) / 98.0% (output) cosine similarity. Running models locally on shared multi-tenant workstations or cloud CPUs exposes prompts and generations across process isolation boundaries. Sensitive local inference requires constant-time embedding lookups, cache partitioning, or dedicated hardware isolation.

Exercise dossier metadata

Case ID
OBS.EX0109
Classification
Exercise
Date
Evaluation scope
Local Llama, Falcon & Gemma Deployments · Unprivileged CPU Cache Timing
Reference URI
https://arxiv.org/abs/2505.06738

Inspect OBS.EX0109 in Interactive Incidents & Cases Hub

Mapped AI security techniques

Mapped defensive controls

Source citation records