race-condition

Identify and exploit race conditions in web application APIs.

120|8|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/Prohao42/aimy-sikll --skill race-condition-prohao42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: race-condition
Source: https://github.com/Prohao42/aimy-sikll/tree/main/ai-mian/hack-skills/skills/race-condition
Command: npx skills add https://github.com/Prohao42/aimy-sikll --skill race-condition-prohao42

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Race condition and TOCTOU testing for web apps. Use when testing one-time operations, concurrent HTTP abuse, rate-limit bypass, Turbo Intruder gates, HTTP/2 single-packet attacks, and CWE-362-style synchronization gaps.

Core Features & Use Cases

  • TOCTOU patterns and non-atomic read-then-write analyses
  • Patterns for one-time claims, balance updates, and multi-step pipelines
  • Real-world scenarios: coupons, inventory, and verification workflows

Quick Start

Run parallel requests against a state-changing API endpoint to observe TOCTOU effects and document any duplicate state changes.

Frequently Asked Questions about 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 in web apps, send parallel HTTP requests against state-changing API endpoints to observe non-atomic reads and writes, then document any duplicate state changes. This identifies CWE-362 synchronization gaps in one-time operations.

What is a TOCTOU vulnerability and how do I exploit it?

A TOCTOU vulnerability occurs when a system checks a state before acting, but that state changes before the action completes. You exploit it by coordinating concurrent requests to abuse non-atomic read-then-write operations in multi-step workflows.

Can I use concurrent HTTP requests to bypass rate limits and duplicate one-time claims?

Yes, you can use concurrent HTTP requests to bypass rate limits and duplicate one-time claims. By executing parallel requests simultaneously, you can exploit synchronization gaps in authorization and state-integrity checks for coupons or balance updates.

How do I validate race condition findings using logs and database state?

Validate race condition findings by collecting evidence of duplicate effects and cross-referencing them with backend logs and database state. This confirms the final inconsistent state caused by parallel requests during one-time operations or multi-step pipelines.

Does HTTP/2 single-packet attack work for testing TOCTOU patterns in APIs?

HTTP/2 single-packet attacks work for testing TOCTOU patterns in APIs by coordinating parallel requests over a single network packet. This technique increases the precision of concurrent HTTP abuse to trigger non-atomic read-then-write synchronization gaps.