CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

race-condition

Race condition / TOCTOU exploitation — concurrent and parallel-request attacks against web applications that check then act, write session state before validating it, or perform slow operations that widen the race window. Covers single-endpoint races (double-spend, coupon abuse, balance overflow) and multi-endpoint state-leak races where a session write on one endpoint leaks privilege into another endpoint mid-request.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Critical

Do not install without reviewing

SKILL.md
Quality
Evals
Security

Quality

Content

81%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A tight, highly actionable single-file skill: recognition signals, a routing decision tree, two executable attack scripts, sandbox-aware anti-patterns, and explicit ≥3-reproduction validation. Main weaknesses are the duplicated multi-endpoint explanation and the pseudocode verification block.

DimensionReasoningScore

Conciseness

The body is efficient and assumes Claude's competence (no basic-concept padding), but the multi-endpoint race is explained twice — first as prose ('The high-impact case: one endpoint writes session state during a slow op...') and again nearly verbatim in the 'Pattern:' bullets — and the opening paragraph overlaps the frontmatter description. These are minor trimmable redundancies, matching 'efficient; minor instances of over-explanation'.

4 / 5

Actionability

Two complete, executable ThreadPoolExecutor scripts with placeholders (<TARGET>, <SESSION>), explicit win conditions, bounded timeouts/worker counts, and an output-file layout give mostly copy-paste-ready guidance. It falls short of 5 because the ≥3-reproductions verification block is comment-only pseudocode ('# ... fire 20 parallel POSTs, count successes ...') and the multi-endpoint verification has no code at all.

4 / 5

Workflow Clarity

The sequence is clear and routed by the Decision Tree, and both attack paths have explicit validation checkpoints: a stated win condition ('more than one 200/201... verify by reading the user's balance/redemption history AFTER the burst') and a ≥3-reproductions-against-fresh-state confirmation rule, plus recovery loops (stagger tuning from measured latency; 'flag back to recon' when the timeline table is absent). Batch parallel operations are fully covered by validation, so no cap applies.

5 / 5

Progressive Disclosure

No bundle files exist (references/, scripts/, assets/ all absent), so everything is inline in a single ~130-line document. Sections are well-organized and navigable (Recognition Signals → two attack patterns → Anti-Patterns → Output Files → Decision Tree), with one clear external pointer ('route to /skills/standard/exploit/web/smuggling/SKILL.md'). This is good structure with content appropriately placed, but the under-50-line simple-skill 5 exception does not apply and there is no overview-to-detail split.

4 / 5

Total

17

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: specific, third-person, and distinctive, covering both single- and multi-endpoint race classes with concrete example flows. The 'when' is conveyed through explicit target conditions rather than a 'Use when...' trigger clause, and a few natural trigger synonyms live only in metadata.when_to_use rather than the description.

DimensionReasoningScore

Specificity

Multiple specific concrete actions with comprehensive coverage: 'concurrent and parallel-request attacks', 'check then act', 'write session state before validating it', 'single-endpoint races (double-spend, coupon abuse, balance overflow) and multi-endpoint state-leak races'. Coverage spans exactly the two attack categories the body delivers, and the voice is third person ('Covers...'), so it fits the 5 anchor rather than the 4 anchor's 'minor gaps in coverage'.

5 / 5

Completeness

The 'what' is explicit and specific, and the 'when' is present as equivalent explicit trigger guidance — 'against web applications that check then act, write session state before validating it, or perform slow operations that widen the race window' states the applicability conditions. It falls short of 5 because there is no 'Use when...' clause with concrete trigger phrases in the description itself, matching 'both what and when; when could be more explicit'.

4 / 5

Trigger Term Quality

Good keyword coverage with core synonyms — 'Race condition / TOCTOU', 'concurrent and parallel-request', 'double-spend', 'coupon abuse', 'balance overflow', 'session state' — but a few natural variations users might say are absent from the description itself (e.g., 'simultaneous requests', 'timing', 'time-of-check time-of-use' spelled out; those appear only in the separate metadata.when_to_use field). Fits 'good keyword coverage; a few natural terms missing'.

4 / 5

Distinctiveness Conflict Risk

A clear niche (race-condition/TOCTOU exploitation within web exploitation) with distinctive triggers — 'double-spend', 'coupon abuse', 'state-leak races', 'session write before validating' — that no adjacent skill would claim; the body even disambiguates the closest neighbor ('smuggling_desync is a parser-disagreement attack, NOT a race'). Minimal conflict risk.

5 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

PurpleAILAB/Decepticon

Path

packages/decepticon/decepticon/skills/standard/exploit/web/race-condition/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.