Web Security · Business Logic
Race Condition
The result depends on operations overlapping in an unintended order. A check-then-use gap can allow repeated spending or invalid state changes. Use atomic operations or appropriate synchronization for the shared state.
Where you practice it
- Race and TOCTOU Foundations with Deterministic TestingWeb Security · Business Logic & Race ConditionsPractice this lesson →
- Idempotency and Duplicate Side EffectsWeb Security · Business Logic & Race ConditionsPractice this lesson →
- Cross-Cutting Defense: FSMs, Constraints, Atomic DML, and LockingWeb Security · Business Logic & Race ConditionsPractice this lesson →
- Authorization-Code Binding, Replay, and InjectionWeb Security · OAuth 2.0 / OpenID Connect SecurityPractice this lesson →