Key Factors Enabling LLM Timing Attacks

The success of LLM timing attacks hinges on exploiting performance optimizations like shared cache mechanisms (e.g., prompt caching, KV cache, semantic caching) which create data-dependent timing variations. These attacks leverage microarchitectural features and the precision of timing measurements to infer secrets, with efficient inference techniques like speculative decoding also introducing exploitable data-dependent timing characteristics.

Sources

Open the full topic