Race Condition Exploiter
A full-stack TOCTOU lab. It is a deliberately vulnerable shop with five real race bugs: double-spend wallet transfers, coupon reuse, overselling stock, duplicate signups and password-reset token reuse. Each one can be exploited, detected and fixed from the same live dashboard.
Technique
- Four concurrency strategies: asyncio, barrier-synced threads, raw TCP sockets, HTTP/2 multiplexing
- Microsecond-level request staggering to find the race window
Detection & fix
- PostgreSQL invariant triggers streamed via
LISTEN/NOTIFY, burst fingerprinting - CAS, row locks, serializable and Redis locks, each benchmarked for exploit rate against latency
FastAPI · PostgreSQL · Redis · React/TS · WebSocket · Docker
- 5
- vulnerabilities
- 4
- attack strategies
- 7
- guided labs