Agent Skillszhaoxuya520/reverse-skill › competition-oauth-oidc-chain

competition-oauth-oidc-chain

GitHub

CTF沙箱下游技能,用于追踪和分析OAuth/OIDC认证链。涵盖重定向、PKCE、Token交换及身份接受逻辑,旨在复现最小攻击流以证明权限提升或身份伪造路径。

CTF-Sandbox-Orchestrator/competition-oauth-oidc-chain/SKILL.md zhaoxuya520/reverse-skill

触发场景

用户要求追踪OAuth或OIDC重定向流程 需要分析回调参数、状态码、Nonce或PKCE材料 解释Token如何转化为被接受的Identity或特权

安装

npx skills add zhaoxuya520/reverse-skill --skill competition-oauth-oidc-chain -g -y
更多选项

非标准路径

npx skills add https://github.com/zhaoxuya520/reverse-skill/tree/main/CTF-Sandbox-Orchestrator/competition-oauth-oidc-chain -g -y

不安装直接使用

npx skills use zhaoxuya520/reverse-skill@competition-oauth-oidc-chain

指定 Agent (Claude Code)

npx skills add zhaoxuya520/reverse-skill --skill competition-oauth-oidc-chain -a claude-code -g -y

安装 repo 全部 skill

npx skills add zhaoxuya520/reverse-skill --all -g -y

预览 repo 内 skill

npx skills add zhaoxuya520/reverse-skill --list

SKILL.md

Frontmatter
{
    "name": "competition-oauth-oidc-chain",
    "description": "Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for OAuth, OIDC, redirect flows, state or nonce handling, PKCE, token exchange, refresh logic, claim mapping, and accepted login paths. Use when the user asks to trace redirects, callback parameters, scopes, state, nonce, PKCE, refresh tokens, consent, or explain how an OAuth or OIDC chain turns into accepted identity or privilege. Use only after `$ctf-sandbox-orchestrator` has already established sandbox assumptions and routed here."
}

Competition OAuth OIDC Chain

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 hard part is proving how an OAuth or OIDC flow is shaped, exchanged, and ultimately accepted.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Map the auth chain in order: entry route, redirect, authorize request, callback, token exchange, refresh, and final accepting service.
  2. Record scopes, state, nonce, PKCE material, redirect URIs, and claim-bearing tokens before mutating anything.
  3. Separate token possession from actual identity acceptance.
  4. Keep browser-visible redirects and backend-visible token exchange in one compact chain.
  5. Reproduce the smallest redirect-to-acceptance flow that proves the decisive identity edge.

Workflow

1. Map The Redirect And Token Path

  • Record issuer, client ID, redirect URI, authorize parameters, callback parameters, token endpoint, and refresh path.
  • Note which values are user-controlled, derived, cached, or validated: state, nonce, PKCE verifier, audience, scope, or prompt.
  • Keep browser redirects, server-side exchanges, and resulting session state tied together.

2. Prove Token-To-Identity Acceptance

  • Show how code, ID token, access token, or refresh token turns into app session, claims mapping, tenant selection, or accepted privilege.
  • Record token claims, expiration, audience, subject, scopes, and the exact accepting app or backend edge.
  • Distinguish UI login success from backend authorization success.

3. Reduce To The Decisive OAuth Chain

  • Compress the result to the smallest sequence: entry request -> redirect -> callback -> token or claim acceptance -> resulting capability.
  • Keep one canonical good flow and one minimal mutated flow if a parameter change matters.
  • If the task broadens into generic web routing or storage behavior outside the auth chain, switch back to the broader web-runtime skill.

Read This Reference

  • Load references/oauth-oidc-chain.md for the redirect checklist, token checklist, and evidence packaging.
  • If the hard part is JWT header parsing, claim normalization, key lookup, or token validation confusion after issuance, prefer $competition-jwt-claim-confusion.

What To Preserve

  • Redirect URIs, parameters, codes, token claims, scopes, and the accepting service or callback
  • The exact point where claims or tokens become accepted app identity
  • One minimal replayable redirect-to-acceptance sequence

版本历史

  • 1bec1f2 当前 2026-07-05 18:45

同 Skill 集合

CTF-Sandbox-Orchestrator/competition-crypto-mobile/SKILL.md
CTF-Sandbox-Orchestrator/competition-reverse-pwn/SKILL.md
CTF-Sandbox-Orchestrator/competition-stego-media/SKILL.md
CTF-Sandbox-Orchestrator/competition-web-runtime/SKILL.md
CTF-Sandbox-Orchestrator/ctf-sandbox-orchestrator/SKILL.md
skills/api-security/SKILL.md
skills/apk-reverse/SKILL.md
skills/attack-chain/SKILL.md
skills/binary-diff/SKILL.md
skills/browser-automation/SKILL.md
skills/browser-extension-reverse/SKILL.md
skills/cloud-k8s/SKILL.md
skills/code-audit/SKILL.md
skills/database-security/SKILL.md
skills/digital-forensics/SKILL.md
skills/docs-generator/SKILL.md
skills/dotnet-reverse/SKILL.md
skills/email-security/SKILL.md
skills/firmware-pentest/SKILL.md
skills/ghidra-reverse/SKILL.md
skills/go-rust-reverse/SKILL.md
skills/hardware-security/SKILL.md
skills/identity-federation/SKILL.md
skills/js-reverse/SKILL.md
skills/llm-security/SKILL.md
skills/macos-reverse/SKILL.md
skills/malware-analysis/SKILL.md
skills/mobile-reverse/SKILL.md
skills/ot-ics/SKILL.md
skills/patch-diff-exploit/SKILL.md
skills/pentest-tools/SKILL.md
skills/pentest-tools/src-hunter/SKILL.md
skills/protocol-reverse/SKILL.md
skills/pwn-chain/SKILL.md
skills/radare2/SKILL.md
skills/radio-sdr/SKILL.md
skills/SKILL.md
skills/supply-chain-security/SKILL.md
skills/thick-client/SKILL.md
skills/threat-hunting/SKILL.md
skills/wifi-wireless/SKILL.md
skills/windows-ad/SKILL.md
CTF-Sandbox-Orchestrator/competition-ad-certificate-abuse/SKILL.md
CTF-Sandbox-Orchestrator/competition-agent-cloud/SKILL.md
CTF-Sandbox-Orchestrator/competition-android-hooking/SKILL.md
CTF-Sandbox-Orchestrator/competition-browser-persistence/SKILL.md
CTF-Sandbox-Orchestrator/competition-bundle-sourcemap-recovery/SKILL.md
CTF-Sandbox-Orchestrator/competition-cloud-metadata-path/SKILL.md
CTF-Sandbox-Orchestrator/competition-container-runtime/SKILL.md
CTF-Sandbox-Orchestrator/competition-custom-protocol-replay/SKILL.md
CTF-Sandbox-Orchestrator/competition-dpapi-credential-chain/SKILL.md
CTF-Sandbox-Orchestrator/competition-file-parser-chain/SKILL.md
CTF-Sandbox-Orchestrator/competition-firmware-layout/SKILL.md
CTF-Sandbox-Orchestrator/competition-forensic-timeline/SKILL.md
CTF-Sandbox-Orchestrator/competition-graphql-rpc-drift/SKILL.md
CTF-Sandbox-Orchestrator/competition-identity-windows/SKILL.md
CTF-Sandbox-Orchestrator/competition-ios-runtime/SKILL.md
CTF-Sandbox-Orchestrator/competition-jwt-claim-confusion/SKILL.md
CTF-Sandbox-Orchestrator/competition-k8s-control-plane/SKILL.md
CTF-Sandbox-Orchestrator/competition-kerberos-delegation/SKILL.md
CTF-Sandbox-Orchestrator/competition-kernel-container-escape/SKILL.md
CTF-Sandbox-Orchestrator/competition-linux-credential-pivot/SKILL.md
CTF-Sandbox-Orchestrator/competition-lsass-ticket-material/SKILL.md
CTF-Sandbox-Orchestrator/competition-mailbox-abuse/SKILL.md
CTF-Sandbox-Orchestrator/competition-malware-config/SKILL.md
CTF-Sandbox-Orchestrator/competition-pcap-protocol/SKILL.md
CTF-Sandbox-Orchestrator/competition-prompt-injection/SKILL.md
CTF-Sandbox-Orchestrator/competition-queue-worker-drift/SKILL.md
CTF-Sandbox-Orchestrator/competition-race-condition-state-drift/SKILL.md
CTF-Sandbox-Orchestrator/competition-relay-coercion-chain/SKILL.md
CTF-Sandbox-Orchestrator/competition-request-normalization-smuggling/SKILL.md
CTF-Sandbox-Orchestrator/competition-runtime-routing/SKILL.md
CTF-Sandbox-Orchestrator/competition-ssrf-metadata-pivot/SKILL.md
CTF-Sandbox-Orchestrator/competition-supply-chain/SKILL.md
CTF-Sandbox-Orchestrator/competition-template-render-path/SKILL.md
CTF-Sandbox-Orchestrator/competition-websocket-runtime/SKILL.md
CTF-Sandbox-Orchestrator/competition-windows-pivot/SKILL.md
skills/diagram-generator/SKILL.md
skills/edr-bypass-re/SKILL.md
skills/ida-reverse/SKILL.md
skills/reverse-engineering/SKILL.md

元信息

文件数
0
版本
b8ae07d
Hash
47d4f2a2
收录时间
2026-07-05 18:45

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-21 07:15
浙ICP备14020137号-1 $访客地图$