본문으로 건너뛰기
Skillpedia
보안42k · #6441

competition-oauth-oidc-chain

하는 일

이 도구는 여러 부분 사이의 리디렉션과 정보 교환을 추적해 로그인 과정(OAuth/OIDC)이 어떻게 작동하는지 이해하도록 돕습니다. 시작부터 로그인이 승인될 때까지의 전체 경로를 그립니다.

사용하는 경우

  • ✓로그인 리디렉션이 어떻게 일어나는지 보고 싶을 때.
  • ✓‘state’나 ‘nonce’ 같은 정보가 어떻게 쓰이는지 이해하고 싶을 때.
  • ✓액세스 토큰이 애플리케이션에서 받아들여지는 신원이 되는 과정을 알아내는 경우.

스킬 링크

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-oauth-oidc-chain/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-oauth-oidc-chain/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 웹사이트의 로그인 흐름을 설명해 주세요. 리디렉션과 제 접근이 어떻게 확인되는지 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 리디렉션과 교환된 정보(토큰 등) 같은 로그인 과정의 각 단계를 기록합니다. 그다음 모든 것을 단순화해 로그인이 어떻게 검증되고 받아들여지는지 정확히 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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
자주 묻는 질문

OAuth와 OIDC란 무엇인가요?

Google이나 Facebook 같은 하나의 서비스를 사용해 다른 앱에 새 계정을 만들지 않고 로그인할 수 있게 하는 표준입니다.

‘리디렉션’이란 무엇인가요?

로그인이나 승인 과정을 완료하기 위해 웹사이트가 사용자를 한 페이지에서 다른 페이지로 보내는 것입니다.

‘토큰’이란 무엇인가요?

무언가에 접근할 권한이 있거나 누구인지 증명하는 디지털 배지와 같습니다.

상세 정보

작성자의 원본 설명

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

repo: zhaoxuya520/reverse-skill

인기도

GitHub 스타
42k
순위
#6441
라이선스
MIT
업데이트
2026. 9. 22.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬