competition-graphql-rpc-drift
ما الذي تفعله
هذه المهارة تقارن بين ما يقوله النظام عن طريقة عمله (العقد) وما يفعله فعلياً (المعالجات). تكشف الفروقات، مثل العمليات المخفية أو القديمة، لفهم النظام بشكل أفضل.
متى تستخدمها
- ✓عندما تريد إيجاد عمليات GraphQL أو RPC لا ينبغي أن تكون موجودة.
- ✓عندما تريد مقارنة ما يتوقعه العميل بما يفعله الخادم فعلياً.
- ✓عندما تحقق في ما إذا كان الكود المولَّد للتفاعل مع النظام قديماً.
رابط المهارة
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-graphql-rpc-drift/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“قارن عقد GraphQL مع المعالجات الفعلية لإيجاد العمليات المخفية.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
أولاً تجمع المهارة معلومات عن الطريقة المفترضة للنظام (العقد). ثم تراقب كيف يستجيب فعلياً للطلبات. أخيراً تقارن الاثنين لإيجاد الاختلافات.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Competition Graphql Rpc Drift
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 matching declared contracts with live handlers to find hidden, stale, or privileged operations.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Collect the declared contract surface first: schema, manifest, generated client, persisted query map, or OpenAPI spec.
- Record actual request shapes, operation names, variables, method, path, and auth context before mutating anything.
- Compare declared contract, generated client behavior, and live handler behavior side by side.
- Preserve one accepted operation and one drifted or hidden operation with the smallest delta.
- Reproduce the smallest contract-to-handler mismatch that proves the decisive branch.
Workflow
1. Map The Declared Contract Surface
- Record GraphQL schema, introspection output, persisted query ids, RPC manifests, generated clients, or OpenAPI documents that define the intended surface.
- Note versioned endpoints, client-only guards, hidden enums, optional fields, and operation naming conventions.
- Keep document source and generation path tied to the observed requests.
2. Prove Live Handler Behavior
- Capture the real request and response pairs, including operation name, variables, headers, cookies, and status.
- Compare client-side validation, schema expectations, and live handler normalization or fallback behavior.
- Record hidden operations, stale fields, undocumented methods, or handler-only branches that still execute.
3. Reduce To The Decisive Drift Path
- Compress the result to the smallest sequence: declared contract -> actual request -> handler branch -> resulting capability.
- State clearly whether the decisive drift lives in generated client assumptions, persisted query mapping, schema version skew, RPC manifest mismatch, or handler-side hidden logic.
- If the task shifts into generic JWT, OAuth, or queue behavior after acceptance, hand off to the tighter specialized skill.
Read This Reference
- Load
references/graphql-rpc-drift.mdfor the contract checklist, live-handler checklist, and evidence packaging.
What To Preserve
- Schemas, manifests, generated clients, persisted query ids, operation names, and version markers
- One accepted and one drifted request pair that proves the mismatch
- One minimal contract-to-handler sequence that reaches the decisive effect
الأسئلة الشائعة
ما المقصود بـ«العقد» (contract) في هذا السياق؟
هو الوصف الرسمي لطريقة عمل النظام، مثل واجهة برمجة التطبيقات، بما في ذلك البيانات التي يقبلها ويعيدها.
ما هي «المعالجات» (handlers)؟
هي أجزاء الشيفرة في النظام التي تعالج الطلبات الواردة فعلياً.
ماذا يعني «الانحراف» (drift)؟
يعني وجود فرق بين العقد، أي كما يجب أن يكون، والسلوك الفعلي، أي كما هو في الواقع.
التفاصيل
الوصف الأصلي من المؤلف
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for GraphQL schemas, persisted queries, RPC manifests, generated clients, OpenAPI drift, hidden operations, and contract-to-handler mismatches. Use when the user asks to inspect GraphQL or RPC requests, compare client contracts to live handlers, recover hidden operations, trace generated clients, or explain how schema or
الشعبية
- نجوم GitHub
- 42k
- الترتيب
- #6430
- الترخيص
- 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 والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.