MR
Mayur Rathi
@sickn33
⭐ 47.3k GitHub stars

hunt-race-condition

hunt-race-condition is an code AI skill with a core value of Hunting skill for race condition vulnerabilities. It helps developers solve real-world problems in the code domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Hunting skill for race condition vulnerabilities.

Last verified on: 2026-10-06

Quick Facts

Category code
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 47.3k
Last Verified 2026-10-06
Risk Level Low
mkdir -p ./skills/hunt-race-condition && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/hunt-race-condition/SKILL.md -o ./skills/hunt-race-condition/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

> **⚠️ AUTHORIZED USE ONLY**

> This skill is for educational purposes or authorized security assessments only.

> You must have explicit, written permission from the system owner before using this tool.

> Misuse of this tool is illegal and strictly prohibited.


> **Mandatory confirmation gate**

> Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

> 1. Ask the user to state the exact target URL, IP, account, or resource.

> 2. Ask the user to confirm written authorization and the permitted scope.

> 3. Show the exact command(s) and explain their expected effect.

> 4. Wait for explicit confirmation in the current conversation.

>

> Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.


Firing a race — two primitives (tooling-agnostic)


Winning a race needs requests that arrive in the *same* narrow window — sequential sends never

work. Use a single-packet / synchronized-send tool: **Burp Repeater** "Send group in parallel"

(HTTP/2 single-packet attack), **Turbo Intruder** (`engine=Engine.BURP2`, `gate` sync), or any

client that can flush N requests simultaneously. Two shapes:


- **Identical-copies race** — fire N IDENTICAL copies of one request at once (limit-overrun:

double-spend a coupon/gift-card, exceed a one-per-user quota). Success = ≥2 of the N return 2xx.

- **Different-requests race (partial construction)** — fire a LIST of DIFFERENT requests in one

synchronized window, repeated over several rounds. For register-then-confirm / TOCTOU races

where the object exists in a usable state mid-creation. Example (email-verification bypass —

register an arbitrary email, then confirm it through the construction window with a blank token):

```

Request A: POST /register body: csrf=<csrf>&username=hacker&email=anything@exploit.net&password=pw

Request B: GET /confirm params: token= (empty)

Fire A and B together, repeat ~20 rounds.

```

Get a fresh CSRF from `GET /register` first, then fire the batch. After it succeeds, log in as the

new account and perform the objective (e.g. a state-changing admin action such as deleting a user).

The blank-token confirm wins during the window where the user row exists but its verification

token isn't set yet.


Crown Jewel Targets


Race conditions are high-severity findings because they break financial, access control, and integrity assumptions that defenders rarely stress-test. Highest payouts come from:


- **Monetary/credit systems** — double-spending gift cards, coupons, referral bonuses, promotional credits, wallet balances

- **Vote/reputation manipulation** — upvoting the same content multiple times, gaming leaderboards or trending algorithms

- **Account limits bypass** — exceeding free-tier quotas, bypassing "one per user" restrictions on invites, trial activations, or API key generation

- **Privilege escalation** — racing role assignment or permission checks during user creation/upgrade flows

- **Deletion bypass** — reading or exfiltrating data during a narrow window between "marked for deletion" and "actually deleted"

- **Payment flows** — charging a card once but receiving multiple fulfillments


**Best-paying asset types:** Fintech apps, SaaS platforms with credit/subscription models, social platforms with reputation systems, e-commerce checkout flows, OAuth/SSO token endpoints.


---


Attack Surface Signals


URL Patterns

text
/vote, /upvote, /like, /favorite
/redeem, /apply-coupon, /use-code, /claim
/purchase, /checkout, /confirm-order, /pay
/transfer, /withdraw, /send-money
/invite, /referral, /accept-invite
/upgrade, /activate, /trial
/delete, /deactivate, /cancel
/follow, /subscribe

Response Headers That Signal Race-Prone Backends

text
X-RateLimit-*        # rate limiting exists, but may not be atomic
X-Request-Id         # each request independently tracked
No Cache-Control   

🎯 Best For

  • Claude users
  • Software engineers
  • Development teams
  • Tech leads

💡 Use Cases

  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply hunt-race-condition to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Is hunt-race-condition compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for hunt-race-condition?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install hunt-race-condition?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/hunt-race-condition/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills