hunt-race · git:20260923.82a4143 · 2026-09-23 · sha256 2d8eb6b1e3d7a945
hunt-race git:20260923.82a4143A
Immutable. This exact content never changes and is served at /api/v1/blob/2d8eb6b1e3d7a945.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_tkj4sgfkjvxcwlu6/2d8eb6b1e3d7a945a525a997798a3baf626766f91ac79266829e17f6ed67c5a0.json
Then /plugin install hunt-race@markdownregistry-tkj4sgfkjvxcwlu6 in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.
---
name: hunt-race
description: Race conditions — TOCTOU, double-spend, double-redeem, parallel requests. Escalates to privilege escalation, financial fraud, ATO.
---
# RACE CONDITION HUNTING — 3 BULLETS MAX
**Core:** Timing-based bugs that bypass business logic in one burst.
## DETECTION
```bash
# Basic race test
for i in $(seq 1 20); do
curl -s -o /dev/null -w "%{http_code} " -X POST -H "Authorization: Bearer $TOKEN" \
-d '{"code":"PROMO123"}' "https://target.com/api/redeem" &
done; wait
# Multiple successes = race confirmed
```
## ATTACKS
```
TOCTOU: balance check → parallel deduction → double-spend
Double redeem: coupon/gift card with parallel requests
Registration: duplicate accounts with same email
Payment: price update + order confirm in parallel
File upload: path traversal during file move
Session: fixation race — create + use session in parallel
```
## SEVERITY
```
Wallet withdrawal → double-spend → Critical
Coupon redemption → double-redeem → High
File upload → path traversal → RCE → Critical
Payment → price manipulation → Critical
Account creation → duplicate accounts → Medium
```