race-condition

Test web applications for race conditions and TOCTOU flaws with synchronized request bursts.

11|4|Updated Jun 7, 2026
One-click install
npx skills add https://github.com/sayseven7/frameseven --skill race-condition-sayseven7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: race-condition
Source: https://github.com/sayseven7/frameseven/tree/main/internal/mcp/skills/race-condition
Command: npx skills add https://github.com/sayseven7/frameseven --skill race-condition-sayseven7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps security testers find race conditions and TOCTOU flaws that let concurrent requests bypass intended one-time, balance, or verification controls.

Core Features & Use Cases

  • Race-condition testing: Stress state-changing endpoints with synchronized bursts to reveal duplicate successes and inconsistent server-side state.
  • Transport-level timing techniques: Apply HTTP/1.1 last-byte synchronization, HTTP/2 single-packet bursts, and Turbo Intruder gates to tighten request spacing.
  • Workflow and integrity checks: Validate one-time actions, coupons, transfers, email verification, rate limits, and multi-step workflows for non-atomic behavior.

Quick Start

Use the race-condition skill to test an authorized web endpoint for duplicate effects under concurrent requests and confirm the final server-side state.

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 and TOCTOU flaws in web applications?

Testing race conditions involves sending synchronized request bursts to state-changing endpoints to reveal duplicate successes or inconsistent server-side state. This Skill validates non-atomic behavior by correlating concurrent request evidence with final server-side state verification.

Can I use HTTP/2 single-packet bursts to bypass rate limits?

HTTP/2 single-packet bursts tighten request spacing to test rate-limit bypasses and concurrent HTTP abuse. This transport-level timing technique, alongside HTTP/1.1 last-byte synchronization, helps identify non-atomic operations in web application endpoints.

What is a TOCTOU vulnerability and how does it affect one-time operations?

A TOCTOU vulnerability occurs when one-time operations like email verification or coupon redemption fail to execute atomically. Concurrent requests can bypass intended controls by exploiting the time gap between checking state and updating it, causing duplicate effects.

Does this race condition testing approach work for multi-step workflow validation?

Race condition testing applies directly to multi-step workflow validation by stressing state transitions with synchronized bursts. It confirms whether multi-step processes maintain integrity under concurrent HTTP abuse or reveal non-atomic behavior during transfers and verifications.

Why do concurrent requests cause duplicate successes on secure endpoints?

Concurrent requests cause duplicate successes when endpoints lack atomic transaction handling. Sending synchronized bursts exposes race conditions by verifying the final server-side state, revealing inconsistent outcomes where intended one-time controls fail under simultaneous load.

What is the best way to confirm duplicate effects from a race condition attack?

The best way to confirm duplicate effects is through server-side state verification after sending synchronized request bursts. This requires correlating evidence from concurrent HTTP abuse to validate that the final application state reflects inconsistent or duplicated outcomes.