web-race-conditions

Installation
SKILL.md

Race conditions (TOCTOU / limit-overrun)

When it applies

An action is meant to happen once (or N times) and the server checks a condition, then acts, on shared state — without atomicity. Concurrent requests slip between check and update.

Why it works

Between "check if allowed" and "record that it happened" there's a window. Fire many requests in that window and several pass the check before any updates the state — so a one-time coupon redeems 10×, a balance is spent twice, a limit is overrun.

Method

  1. Pick a limited action with observable state (balance, redeemed flag, count).
  2. Send a burst in parallel aligned to hit the window together: Burp Turbo Intruder (single-packet attack for HTTP/2, or last-byte sync for HTTP/1) — the point is simultaneity, not volume.
  3. Measure the overrun: did the action succeed more times than allowed (2 redemptions, double credit)?
  4. Variants: multi-endpoint races (state set by A, consumed by B), and MFA/OTP brute windows.
Installs
2
GitHub Stars
19
First Seen
7 days ago
web-race-conditions — noorqureshi/sploitagent