competition-jwt-claim-confusion

competition-jwt-claim-confusion is a skill for Codex from zhaoxuya520/reverse-skill. It costs 128 tokens per session (655 once invoked), scanned A, original, MIT.

A specialist workflow for investigating JWTs, which are signed web tokens carrying claims such as a user or role. It examines how an application reads the token, chooses a key, checks its claims, and decides which identity or access level to accept.

In plain words
What is it for?
Inspect JWT headers and claims, trace key lookup and signature checks, compare issuer and audience validation, and follow role mapping into an application session or privilege.
Why use it?
It helps find mistakes where token headers, keys, issuers, audiences, or roles are interpreted inconsistently. The focus is on proving which service accepts the token and why.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Inspect JWT headers and claims, trace key lookup and signature checks, compare issuer and audience validation, and follow role mapping into an application session or privilege.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhaoxuya520/reverse-skill/competition-jwt-claim-confusion
About the project

Reverse Skill is a routing package for AI coding agents that selects appropriate reverse-engineering, penetration-testing, and security-research methods and tools for a given target. It is used for tasks involving APKs, binaries, frontend JavaScript, packet captures, CTF challenges, and authorized penetration testing. Its catalogue add-ons provide the skills and instructions that guide these workflows.

zhaoxuya520/reverse-skill · 45,451 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zhaoxuya520/reverse-skill --skill competition-jwt-claim-confusion
Clone the repo
git clone --depth 1 https://github.com/zhaoxuya520/reverse-skill

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for competition-jwt-claim-confusion

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhaoxuya520/reverse-skill/competition-jwt-claim-confusion/github.svg)](https://agentmods.dev/skills/zhaoxuya520/reverse-skill/competition-jwt-claim-confusion)
Your own site
<a href="https://agentmods.dev/skills/zhaoxuya520/reverse-skill/competition-jwt-claim-confusion"><img src="https://agentmods.dev/badge/skills/zhaoxuya520/reverse-skill/competition-jwt-claim-confusion/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for competition-jwt-claim-confusion

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhaoxuya520/reverse-skill/competition-jwt-claim-confusion"><img src="https://agentmods.dev/badge/skills/zhaoxuya520/reverse-skill/competition-jwt-claim-confusion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 655 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00128 $0.00655
Opus 5.5 $0.00051 $0.00262
Sonnet 5.5 $0.00026 $0.00131
Haiku 4.5 $0.00013 $0.00065

Measured 3mo ago against content hash f470a0467fdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

competition-jwt-claim-confusion scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

CTF-Sandbox-Orchestrator/competition-jwt-claim-confusion/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Competition JWT Claim Confusion

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when the decisive bug is not just "there is a JWT," but how headers, claims, and key selection turn into accepted identity.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Split the token path into parse, key lookup, signature or decryption, claim validation, and final acceptance.
  2. Record header fields, claims, key source, issuer, audience, and role mapping before mutating anything.
  3. Separate possession of a token from the exact service that accepts it.
  4. Keep parser behavior, trust policy, and resulting app session or privilege in one chain.
  5. Reproduce the smallest token-to-acceptance flow that proves the decisive confusion.

Workflow

1. Map Header And Key Selection

  • Record header fields such as alg, kid, typ, cty, jku, or embedded key material when present.
  • Note where keys come from: static config, JWKS, local file, cache, or dynamic lookup.
  • Keep token parser, key selection path, and validation mode tied together.

2. Prove Claim-To-Privilege Acceptance

  • Show how subject, audience, issuer, tenant, scope, role, or custom claims become app session, route access, or backend privilege.
  • Record expiration, not-before, clock skew, issuer matching, audience matching, and claim normalization behavior.
  • Distinguish token parse success from actual authorization success.

3. Reduce To The Decisive JWT Path

  • Compress the result to the smallest sequence: token supplied -> parser or key path taken -> claim accepted -> resulting capability.
  • Keep one canonical accepted token path and one mutated token path if confusion or bypass depends on a delta.
  • If the task broadens into a larger OAuth redirect chain, hand back to the tighter OAuth skill.

Read the full file on GitHub · 51 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 51 lines · 128 tokens per session scan A f470a0467fdf

Subscribe to this mod's changes

competition-jwt-claim-confusion is a skill published in the GitHub repository zhaoxuya520/reverse-skill (45,451 stars, last pushed 16d ago), licensed MIT. It adds 128 tokens to every session and 655 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

competition-jwt-claim-confusion compared with skills from other repositories

competition-jwt-claim-confusion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
competition-jwt-claim-confusionzhaoxuya520/reverse-skillSkill45k16d agoMITA128Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code