Whisper Leak: a side-channel attack on Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are increasingly deployed in sensitive domains including healthcare, legal services, and confidential communications, where privacy is paramount. This paper introduces Whisper Leak, a side-channel attack that infers user prompt topics from encrypted LLM traffic by analyzing packet size and timing patterns in streaming responses. Despite TLS encryption protecting content, these metadata patterns leak sufficient information to enable topic classification. We demonstrate the attack across 28 popular LLMs from major providers, achieving near-perfect classification (often >98% AUPRC) and high precision even at extreme class imbalance (10,000:1 noise-to-target ratio). For many models, we achieve 100% precision in identifying sensitive topics like "money laundering" while recovering 5-20% of target conversations. This industry-wide vulnerability poses significant risks for users under network surveillance by ISPs, governments, or local adversaries. We evaluate three mitigation strategies - random padding, token batching, and packet injection - finding that while each reduces attack effectiveness, none provides complete protection. Through responsible disclosure, we have collaborated with providers to implement initial countermeasures. Our findings underscore the need for LLM providers to address metadata leakage as AI systems handle increasingly sensitive information.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 7 of its 16 references that are in the map. First posted on arXiv 5 Nov 2025.
Builds on
7 of 16 references.
References · 7
- 2024What Was Your Prompt? A Remote Keylogging Attack on AI Assistantscited by 26
- 2024InputSnatch: Stealing Input in LLM Services via Timing Side-Channel Attackscited by 16
- 2024Remote Timing Attacks on Efficient Language Model Inferencecited by 13
- 2024Time Will Tell: Timing Side Channels via Output Token Count in Large Language Modelscited by 7
- 2018Understanding and Mitigating the Security Risks of Voice-Controlled Third-Party Skills on Amazon Alexa and Google Homecited by 3
- 2025SupraTok: Cross-Boundary Tokenization for Enhanced Language Model Performancecited by 2
- 2023NetShaper: A Differentially Private Network Side-Channel Mitigation Systemcited by 1
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Sensitive-Topic Leakage Through LLM Routing Metadata: Measurement and Mitigation7 Oct 2026
- 2026A Large-Scale Benchmark and Risk Assessment of Traffic Analysis Attacks on Cloud LLM Services25 Sep 2026
- 2026Safety in Self-Evolving LLM Agent Systems: Threats, Amplification, and Case Studies22 Jun 2026