New advertisers: 50% off your first month with code FIRSTMONTHSee slots
yaklang avatar

Race Condition

Race-condition playbook for web apps covering TOCTOU, rate-limit bypass, and HTTP/2 single-packet timing.

skills.sh installs
3.9K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers one-time redeems, balance deductions, referral claims, and token verification, with a priority table ranking which endpoint classes to test first
  • Includes HTTP/1.1 last-byte synchronization, HTTP/2 single-packet attacks, and Turbo Intruder gate templates for releasing parallel requests together
  • Requires captured state-changing requests replayed in bursts of 20 to 100, then classified by expected versus actual successes and final state
  • Designed for authorized testing alongside business-logic-vulnerabilities when workflows, coupons, inventory, or rewards are involved

Install

$ npx -y skills add yaklang/hack-skills --skill race-condition -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SKILL: Race Conditions — Testing & Exploitation Playbook

AI LOAD INSTRUCTION: Treat race conditions as authorization/state integrity issues: non-atomic read-then-write lets multiple requests observe stale state. Prioritize one-time or balance-like operations. Combine parallel transport (HTTP/1.1 last-byte sync, HTTP/2 single-packet, Turbo Intruder gates) with application evidence (duplicate success responses, inconsistent balances, duplicate ledger rows). Authorized testing only. Routing note: for business workflows, coupons, inventory, or one-time rewards, start with this skill and cross-load business-logic-vulnerabilities.


0. QUICK START — What to Test First

Target endpoints where check and update are unlikely to be a single atomic database operation:

Details

Repository
github.com/yaklang/hack-skills
Category
Security
First seen
May 16, 2026

More from yaklang/hack-skills

All 102

Similar to Race Condition

More Security