Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Race Condition?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-race-condition)
---
name: race-condition
description: Race condition / concurrency testing — single-packet attack (HTTP/2) and last-byte-sync for sub-millisecond parallelism, limit-overrun, multi-endpoint collisions on shared state, single-endpoint session-state races, hidden sub-state (MFA) races, partial-construction, and time-sensitive-token races. Tier 1. Use wherever a check and an action aren't atomic (payments, coupons, OTP, limits, signup).
---
# Race Conditions (TOCTOU concurrency)
Exploit the window between check and action with tightly-parallel requests. Modern tooling makes this highly reliable.
## Trigger phrases
`race condition, single packet attack, limit overrun, toctou concurrency, double spend, parallel requests, turbo intruder`
## Delivery (tight parallelism)
- **Single-packet attack [NEW]:** send 20-30 requests in one TCP packet over **HTTP/2** to neutralize network jitter (Burp Repeater "send group in parallel", or Turbo Intruder `engine=Engine.BURP2`). For HTTP/1.1 use last-byte synchronization.
- Hold back the final byte of each request, then release together.
## Targets
- **Limit-overrun:** redeem a gift card/coupon N times, withdraw/transfer > balance (double-spend), vote/like/signup beyond "one per user", over-claim stock.
- **Multi-endpoint collision:** two different requests hitting shared state simultaneously (e.g., add-to-cart + apply-discount).
- **Single-endpoint:** concurrent updates to the same record (balance, status).
- **Hidden sub-state (MFA bypass) [NEW/RARE]:** race the OTP-verify / session-upgrade step.
- **Partial-construction [NEW/RARE]:** act on an object during its creation window before security fields are set.
- **Time-sensitive tokens:** two requests in the same second deriving the same "random"/time-seeded token.
## Detection pitfalls
Confirm by an outcome that violates the invariant (balance negative, two orders for one voucher), not by response timing alone; benchmark single-request behavior first; account for rate-limits/connection warm-up.
## Escalation
Financial double-spend, limit bypass, auth/MFA bypass, duplicate-resource creation.
## Backend
Use the preferred Kali path (native Kali / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or a headless browser for client-side steps; Windows-local only as last resort. See `zazy-orchestrator`.
## Verification (background, before reporting)
Re-confirm every candidate independently (second account/session, replay, or OAST) before marking CONFIRMED. Report true positives only; hold back anything not reproduced.
## Evidence
The parallel-request set, and the invariant-violating result (with counts).