hunt-race-condition

Detects race condition vulnerabilities using parallel request attacks and HTTP/2 single-packet techniques.

Updated May 29, 2026
One-click install
npx skills add https://github.com/hhjkjkjk/Claude-skills --skill hunt-race-condition-hhjkjkjk
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hunt-race-condition
Source: https://github.com/hhjkjkjk/Claude-skills/tree/main/skills/hunt-race-condition
Command: npx skills add https://github.com/hhjkjkjk/Claude-skills --skill hunt-race-condition-hhjkjkjk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Race condition vulnerabilities let attackers bypass one-time-use limits, double-spend credits, and defeat rate limits, but they are hard to find because they only appear under concurrent request timing that manual testing rarely reproduces. ## Core Features & Use Cases - Systematic Hunting Methodology: A 10-step workflow covering target enumeration, state machine analysis, parallel request execution, and reproducibility validation. - HTTP/2 Single-Packet Attack Guidance: Deep reference on James Kettle's last-byte-sync technique and Flatt Security's first-sequence-sync extension for up to 10,000 concurrent requests. - Ready-to-Use Payloads: Turbo Intruder, curl, and Python asyncio templates plus grep patterns for auditing Rails, Django, PHP, and Node.js codebases. - Use Case: A bug bounty hunter testing a coupon redemption endpoint sends 30 simultaneous requests via Turbo Intruder's BURP2 engine, confirms the coupon redeems twice, and documents a reproducible double-redemption report. ## Quick Start Ask the AI to test a specific one-time-use endpoint, such as a coupon redemption or vote endpoint, for race condition vulnerabilities using parallel requests.

Frequently Asked Questions about hunt-race-condition

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test for race condition vulnerabilities in a web application?▼

Identify endpoints enforcing one-time or limited-use constraints, capture a baseline request, then fire 10-50 identical requests simultaneously using Turbo Intruder, curl backgrounding, or Python asyncio. Verify the effect by checking whether credits, votes, or redemptions were applied multiple times.

What is the HTTP/2 single-packet attack for race conditions?▼

The single-packet attack, published by James Kettle at DEF CON 31, pre-stages multiple HTTP/2 requests by withholding the final byte of each, then releases all final bytes in one TCP write. This collapses the race window to under 1 ms, making exploits viable against modern load-balanced backends.

Which endpoints are most likely to have race condition bugs?▼

Target endpoints handling coupon redemption, gift cards, voting, balance transfers, account activation, invites, and resource creation limits. Any endpoint with a check-then-act pattern, where state is read and then written in separate operations, is a candidate.

Does the single-packet attack work on HTTP/1.1 servers?▼

No, single-packet delivery requires HTTP/2 multiplexing over one connection. Verify support with curl --http2; on HTTP/1.1-only targets, fall back to parallel pipelining, which has a much wider race window and only works against slower backends.

Why do race condition exploits fail even with many parallel requests?▼

Common causes include network jitter spreading requests across milliseconds, server-side serialization by the worker pool, or requests exceeding the MTU and fragmenting. Use Wireshark to confirm all requests arrive in one TCP segment, and estimate the race window before attacking.

How do I confirm a race condition is exploitable enough to report?▼

Demonstrate the duplicate effect with concrete evidence such as double-credited balances or inflated vote counts, show measurable victim impact, and reproduce the result in at least 3 of 5 attempts from a fresh account with a short script.