Skip to content
Back to skills

Race Condition

ASecurity

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).

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 17, 2026
securitytestingbackendsecurity

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill race-condition --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Race Condition?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Race Condition
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-race-condition/badge)](https://www.skillsdirectory.com/skills/anandjogawade-race-condition)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.