A payment provider's webhook endpoint with HMAC signatures: chase forged deliveries that get accepted, add secret rotation with two active secrets, then add a replay window, exactly-once handling of duplicate deliveries and constant-time comparisons.
TypeScript · Node 20+ · Vitest · 3 parts · 90 minutes
This repo and its bugs are CircleCoder’s own practice material, not taken from any company’s interview. Free with an account; the AI debrief is charged like any AI session.
Log in to start