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انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اشرح عملية تسجيل الدخول في هذا الموقع، مع إظهار عمليات إعادة التوجيه وكيف يُؤكَّد وصولي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تسجل المهارة كل خطوة في عملية تسجيل الدخول، مثل عمليات إعادة التوجيه والمعلومات المتبادلة، أي الرموز. ثم تبسّط كل شيء لتوضح كيف يُتحقق من تسجيل الدخول ويُقبل.
المحتوى التقني (ملف 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
- Map the auth chain in order: entry route, redirect, authorize request, callback, token exchange, refresh, and final accepting service.
- Record scopes, state, nonce, PKCE material, redirect URIs, and claim-bearing tokens before mutating anything.
- Separate token possession from actual identity acceptance.
- Keep browser-visible redirects and backend-visible token exchange in one compact chain.
- 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.mdfor 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، لتسجيل الدخول إلى تطبيقات أخرى دون إنشاء حساب جديد لكل منها.
ما هي «إعادة التوجيه» (redirect)؟
هي عندما ينقلك موقع من صفحة إلى أخرى، عادة لإكمال عملية تسجيل الدخول أو التفويض.
ما هي «الرموز» (tokens)؟
هي أشبه بشارات رقمية تثبت من أنت، أو ما الصلاحيات التي تملكها للوصول إلى شيء ما.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 42k
- الترتيب
- #6441
- الترخيص
- MIT
- آخر تحديث
- 22/9/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
competition-ad-certificate-abuse
42kيساعد وكيلك على تحليل الهجمات على أنظمة الشهادات الرقمية. يبحث في كيفية إساءة استخدام الشهادات للوصول إلى الصلاحيات.
competition-agent-cloud
42kيساعد وكيلك على تحليل التحديات الأمنية في أنظمة الذكاء الاصطناعي والسحابة. يبحث في كيفية استغلال الأوامر والأدوات والسحابة.
competition-android-hooking
42kيساعد وكيلك على التحقيق في تطبيقات Android. يحلل كيف تعمل التطبيقات من الداخل وكيف يمكن تعديلها أو استغلالها.
competition-browser-persistence
42kيساعد وكيلك على تحليل كيفية تخزين المواقع للمعلومات في متصفحك. يبحث في ملفات تعريف الارتباط وغيرها من البيانات لفهم عمل الجلسات.
مهارات مشابهة
reverse-engineer-anything
422kيساعد وكيلك على فحص التطبيقات والحزم المنشورة من الداخل ليشرح الميزات ويقارن الإصدارات ويرشد إلى إعادة البناء، باستخدام أداة REA.
1password
394kيساعد وكيلك على إعداد واجهة سطر أوامر 1Password وتسجيل الدخول، وقراءة الأسرار أو حقنها دون طباعة قيمها في المحادثة.
healthcheck
394kيساعد وكيلك على تدقيق جهاز OpenClaw أو خادمه أمنيًا، مثل SSH والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.