The lab
Instruments on the bench
Each module runs entirely in your browser and is embedded in the chapter it illustrates. Open one here to experiment without the surrounding prose.
TOTP workbench
RFC 4226/6238 with every intermediate byte shown, a live 30 s ring, drift windows — and the RFC test vectors recomputed in your browser to prove it.
Attack simulator
SIM swap, AitM relay, MFA fatigue and SMS pumping, fast-forwarded. Switch defenses on and off and watch the outcome and severity change.
WebAuthn ceremony mock
Challenge → authenticator assertion → signature verify, with real P-256 signatures and editable inputs so you can break each check.
Policy engine
A JSON rules editor that maps risk facts to allow / otp / step-up / deny, evaluated live against sample sessions.