Skip to content
SkillModel-led451 tokens in use

competition-race-condition-state-drift

A CTF sandbox workflow for reproducing race windows, lock gaps and idempotency failures with baseline and racing runs.

44,996 stars on the repository MIT Licensezhaoxuya520/reverse-skill · CTF-Sandbox-Orchestrator/competition-race-condition-state-drift
git clone https://github.com/zhaoxuya520/reverse-skill.git
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing competition-race-condition-state-drift costs

107tokens idle
451tokens in use
649tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter12/15
  • Structure23/25
  • Examples3/15
  • Output10/15
  • Size15/15
  • Resources7/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity96
  • Maintenance72
  • Community72
  • Maturity28
  • Momentum40

This skill is a downstream specialization of the ctf-sandbox-orchestrator skill. It covers challenges where the decisive behavior depends on request timing, async ordering, lock gaps or stale state, such as duplicate actions, stale reads or balance and privilege drift.

The agent identifies mutable state, builds a small deterministic concurrent sequence, compares a baseline run with a racing run and proves the final state drift from a clean reset. Replies are in Simplified Chinese unless English is requested.

What You Get

  • A list of mutable boundaries to record: transaction scope, locks, retries, idempotency keys and cache invalidation
  • A baseline-versus-race comparison method that changes one variable at a time
  • A short chain template from request ordering to resulting drift
  • Guidance to state the root cause: missing lock, weak idempotency, stale cache, delayed commit or retry side effect

Common Use Cases

  • Reproducing a duplicate-action or stale-read bug in a CTF challenge
  • Showing how request ordering changes a balance or privilege value in a lab
  • Documenting a lock gap between a check and a write in a sandbox service

What Makes It Unique

It demands a minimal deterministic sequence and final-state proof from a clean reset, which discourages noisy stress runs. It hands off to the queue worker drift skill when the path becomes queue-dominated, and it runs only after the orchestrator skill has set sandbox assumptions.

Under The Hood

The skill is instruction text only: a SKILL.md, one reference checklist and an agent config file that disables implicit invocation. It ships no scripts and does not itself fetch pages, call APIs, run commands or write files. Concurrent test inputs would come from the agent’s own tools in the sandbox.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers