skills/race/SKILL.md
Use when testing race conditions, concurrent workflow flaws, double-submit bugs, parallel requests, locking issues, time-of-check/time-of-use behavior, or state consistency under load.
npx skillsauth add ghostonbutterbread/bug-bounty-harness raceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Test for race conditions, state desynchronization, and concurrent workflow flaws.
Read shared state in this order before testing:
notes/summary.mdnotes/observations.mdchecklist.md (race items only)todo.md (race items only)Use agents/bypass_harness.py in --type race mode for first-pass concurrent replay. Set --concurrency above the module burst size so the harness does not artificially serialize the race.
python agents/bypass_harness.py --target https://target.com/api/redeem \
--type race --program target --concurrency 20 --rps 20
| Mode | Use When | What It Tests |
|------|----------|---------------|
| single-use | Token, coupon, or invite should be consumed once | Duplicate acceptance before invalidation |
| limit | Quotas or redemption limits should gate actions | Pre-check bypass under concurrency |
| toctou | Read-then-write checks gate value changes | Stale authorization, balance, or inventory windows |
| workflow | Multiple endpoints change the same object state | Conflicting transitions and ordering bugs |
# Default race pass
python agents/bypass_harness.py --target https://target.com/api/redeem \
--type race --program target --concurrency 20 --rps 20
agents/bypass_harness.py| Option | Description |
|--------|-------------|
| --target, -t | Target URL (required) |
| --type, -T | Use race |
| --program | Program name for shared storage |
| --output-dir, -o | Override raw artifact directory |
| --timeout | Request timeout in seconds |
| --concurrency, -c | Max parallel requests; keep above the race burst |
| --rps | Requests per second |
| --verbose, -v | Verbose debug output |
| --quiet, -q | Show hits only |
$HARNESS_ROOT/prompts/race-playbook.md$HARNESS_SHARED_BASE/{program}/agent_shared/$HARNESS_SHARED_BASE/{program}/agent_shared/findings/race/findings.md$HARNESS_SHARED_BASE/{program}/agent_shared/findings/bypass/prompts/race-playbook.md.agents/bypass_harness.py in --type race mode for duplicate-request testing.agent_shared/findings/race/findings.md.checklist.md, todo.md, and relevant notes.testing
Systematic live request mutation: flip booleans, field ops, headers, content-type, parser differentials, replay vs intercept, null/empty testing. Inherits live-testing-policy scope/rate/ownership rules.
development
Test password reset, forgot-password, reset-token, email reset, and account recovery flows for account takeover risks.
tools
Targeted param/field discovery using tech stack clues, naming conventions, and controlled-rate ffuf — then feeds findings into request-exploration for mutation. Not brute-force; informed and scoped.
testing
Ghost-only workflow for creating approved bug bounty test accounts and saving credential references.