This simulation demonstrates the security vulnerabilities and mitigation strategies associated with blockchain technology by modelling the exact mechanism of a 51% attack: an attacker with a chosen share of network hash power secretly mines a private chain from the same fork as a transaction, racing the honest network to build a longer chain before the merchant's required confirmations pass. Two rows of blocks race forward in real time — driven by an authentic Poisson block-arrival process rather than a scripted animation — while live readouts track chain lengths, the honest network's lead, and both the empirical win rate from repeated Monte Carlo trials and the exact theoretical probability from Nakamoto's original double-spend formula, so you can see directly how raising the confirmation count defends against attackers below 50% hash power, and why it can never fully defend against one above it.