Skip to content
SkillModel-led524 tokens in use

Competition JWT Claim Confusion

A downstream CTF-sandbox skill for following a JWT from header parsing and key selection to claim validation and the privilege it grants.

44,996 stars on the repository MIT Licensezhaoxuya520/reverse-skill · CTF-Sandbox-Orchestrator/competition-jwt-claim-confusion
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 JWT Claim Confusion costs

129tokens idle
524tokens in use
771tokens, 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
  • Output12/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

Competition JWT Claim Confusion is a downstream skill of the CTF Sandbox Orchestrator. It covers JWS, JWE and nested tokens, and asks how headers, claims and key selection turn into an accepted identity.

The agent splits the token path into parse, key lookup, signature or decryption, claim validation and final acceptance, and records header fields, claims and the key source before changing anything. It keeps one canonical accepted token path and, where a bypass depends on a delta, one altered path next to it.

What You Get

  • A five-part split of the token path from parse to acceptance
  • A header checklist and a claim checklist
  • Guidance to separate token parse success from authorization success
  • A rule to tie parser behavior, trust policy and resulting privilege into one chain
  • A hand-off to the OAuth skill when the task grows into a redirect chain

Common Use Cases

  • Explaining how a role claim becomes route access in a challenge app
  • Tracing key lookup through a JWKS endpoint, local file or cache
  • Checking issuer and audience matching and claim normalization
  • Documenting why a decoded token was or was not accepted

What Makes It Unique

It treats the problem as a validation chain and not as a single token trick: key selection, normalization and authorization are each recorded. The skill also requires proof of acceptance by the service, since a token that decodes cleanly says nothing about whether the app grants access.

Under The Hood

The skill is instruction text only: the SKILL.md body, one reference checklist and a small agent config file that disables implicit invocation. It ships no scripts. The instructions tell the agent to inspect tokens and services in the sandbox the user supplies, to reply in Simplified Chinese unless asked for English, and to run only after the orchestrator skill is active.

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