home

interactive explainer · speculative load · cache lines · timing side channels — educational only · no exploit · runs locally

this page does not run gadget code, flush caches, or read cross-origin memory. it only animates the mechanism researchers called Spectre-variant 1: a bounds check hoisted behind a mispredicted branch.

  1. Train branch predictor on pattern true/false
  2. Speculative load from array[x] before bounds check retires
  3. Victim cache line pulled into attacker-set probe array
  4. Evict + reload probe timings leak the secret bit

mitigations: site isolation, reduced timers, branchless access helpers in compilers, retpolines on branches

ready