Skip to content
LowNewsLLM-specific

Side-Channel Attacks Against LLMs

Published
Record updated
View JSON

Summary

Three papers describe side-channel attacks that infer information about LLM conversations from encrypted traffic. Timing differences caused by efficiency techniques such as speculative decoding let an observer learn conversation topics, distinguish messages, and in some cases recover PII, with reported precision above 90% on open source systems. A separate study reports topic inference from packet size and timing across 28 LLMs, with near-perfect classification and 100% precision for some sensitive topics.

Mitigation

Defenses are mentioned but not detailed. The source says the first paper concludes with potential defenses and future work. The third paper evaluates random padding, token batching and packet injection, and states that each reduces attack effectiveness but none provides complete protection. It also says the authors collaborated with providers to implement initial countermeasures. The second paper proposes packet padding and iteration-wise token aggregation.