Chuyển đến nội dung
Skillpedia
Bảo mật42k · #6441

competition-oauth-oidc-chain

Skill này làm gì

Công cụ này giúp hiểu cách quy trình đăng nhập (OAuth/OIDC) hoạt động bằng cách theo dõi các chuyển hướng và trao đổi thông tin giữa các bên khác nhau. Nó lập bản đồ toàn bộ đường đi từ đầu cho tới khi đăng nhập được chấp nhận.

Khi nào nên dùng

  • ✓Khi bạn muốn xem các chuyển hướng đăng nhập diễn ra thế nào.
  • ✓Để hiểu cách các thông tin như “state” hoặc “nonce” được sử dụng.
  • ✓Để biết một access token trở thành danh tính được ứng dụng chấp nhận như thế nào.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-oauth-oidc-chain/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giải thích luồng đăng nhập của website này, chỉ rõ các chuyển hướng và cách quyền truy cập của tôi được xác nhận.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ ghi lại từng bước của quy trình đăng nhập, như chuyển hướng và thông tin trao đổi (token). Sau đó, nó đơn giản hóa mọi thứ để cho thấy chính xác cách đăng nhập được xác minh và chấp nhận.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

OAuth và OIDC là gì?

Đây là các chuẩn cho phép bạn dùng một dịch vụ (như Google hoặc Facebook) để đăng nhập vào các ứng dụng khác mà không cần tạo tài khoản mới cho từng ứng dụng.

“Redirect” là gì?

Đây là khi một website đưa bạn từ trang này sang trang khác, thường để hoàn tất quy trình đăng nhập hoặc cấp quyền.

“Tokens” là gì?

Token giống như huy hiệu điện tử chứng minh bạn là ai hoặc bạn có quyền gì để truy cập một thứ nào đó.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
42k
Vị trí xếp hạng
#6441
Giấy phép
MIT
Cập nhật
22/9/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự