hunt-race-condition

Detect and validate race conditions in stateful endpoints via parallel requests.

1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/jellaharshith/SWIFT --skill hunt-race-condition-jellaharshith
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-race-condition
Source: https://github.com/jellaharshith/SWIFT/tree/main/swift/skills/cbh/skills/hunt-race-condition
Command: npx skills add https://github.com/jellaharshith/SWIFT --skill hunt-race-condition-jellaharshith

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Race conditions let limited actions (votes, redemptions, purchases, credits) succeed multiple times, undermining integrity and causing real financial or entitlement loss.

Core Features & Use Cases

  • Race-condition hunting workflow: Identify once-per-user and stateful endpoints, baseline behavior, then run parallel request races to surface duplicates.
  • Evidence-driven validation (gate 0): Confirm attacker capability, measurable victim impact, and reproducibility within a short time budget.
  • Targeted detection guidance: Use URL/header/JavaScript patterns and stack-specific signals to prioritize the most likely concurrency failures.

Use Case: You suspect a promo redemption or “vote/upvote” endpoint is not atomic; use this skill to run controlled parallel attempts, validate duplicate state changes, and document exploitability for reporting.

Quick Start

Tell the AI to hunt race conditions on your target by enumerating one-time action endpoints, running a 10–50 request parallel race, and producing a reproducibility-focused evidence summary.

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 conditions in web applications?

To test for race conditions, you race parallel requests against stateful endpoints to exploit read-before-write gaps. This identifies limited actions, like votes or redemptions, that can be executed multiple times due to missing atomic locking.

What is a TOCTOU race condition and how does it impact web security?

A TOCTOU race condition occurs when a time-of-check to time-of-use gap allows parallel requests to bypass stateful endpoint limits. This permits limited actions like purchases or redemptions to succeed multiple times, causing financial or entitlement loss.

How do I prove duplicate wins when hunting race conditions for bug bounty reports?

You prove duplicate wins by running controlled parallel request races against target endpoints and validating the duplicate state changes. Evidence-driven validation confirms attacker capability, measurable victim impact, and reproducibility for bug bounty reporting.

Can I use parallel requests to find concurrency testing failures in redemption flows?

Yes, you can send 10 to 50 parallel requests against redemption endpoints to surface concurrency testing failures. This targeted detection exploits read-before-write gaps where missing atomic locking allows limited actions to execute multiple times.

What is the best way to identify endpoints vulnerable to race conditions?

The best way to identify vulnerable endpoints is to look for once-per-user and stateful flows involving votes, redemptions, purchases, or invites. You can use URL, header, and JavaScript patterns to prioritize likely concurrency failures.

When should I not use parallel request racing for concurrency testing?

You should not use parallel request racing when endpoints rely on strict atomic locking or lack read-before-write gaps. If a gate-based check fails to reproduce duplicate state changes or show measurable victim impact, the race condition is not exploitable.