
Race Condition
This is the playbook for finding TOCTOU bugs in web apps where check and update aren't atomic. It walks you through HTTP/2 single-packet attacks, Turbo Intruder gate patterns, and last-byte sync techniques to hit endpoints with tight parallel bursts. The focus is one-time operations like coupon redemption, balance transfers, and referral claims where duplicate success responses or inconsistent state mean you've broken the locking. Includes practical Turbo Intruder templates with gate releases and a priority matrix for what to fuzz first. If you're testing rate limits, inventory systems, or anything that should only happen once per user, this gives you the transport-layer tricks and application evidence you need to prove the race.
- skills.sh installs
- 3.8K
- GitHub stars
- 2.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yaklang/hack-skills --skill race-condition --agent claude-codeInstalls into .claude/skills of the current project.
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:
Sponsors
Details
- Repository
- github.com/yaklang/hack-skills
- Categories
- Testing & QA, Code Review & Quality
- First seen
- May 16, 2026
More from yaklang/hack-skills
All 102- Xxe Xml External Entity3.8K
- Deserialization Insecure3.8K
- Request Smuggling3.8K
- File Access Vuln3.8K
- Format String Exploitation3.8K
- Http Parameter Pollution3.8K
- Csp Bypass Advanced3.8K
- Browser Exploitation V83.8K
- Open Redirect3.8K
- Symbolic Execution Tools3.8K
- Crlf Injection3.8K
- Insecure Source Code Management3.8K
- Mobile Ssl Pinning Bypass3.8K
- Http Host Header Attacks3.8K
- Web Cache Deception3.8K
- Subdomain Takeover3.8K
- Dependency Confusion3.8K
- Expression Language Injection3.8K
- Csv Formula Injection3.8K
- Active Directory Acl Abuse3.8K
- Linux Privilege Escalation3.8K
- Clickjacking3.8K
- Active Directory Kerberos Attacks3.8K
- Jndi Injection3.8K