Skillpedia
الأمان42k · #6434

competition-k8s-control-plane

ما الذي تفعله

هذه المهارة تحلل كيف تؤدي الصلاحيات والإجراءات داخل Kubernetes، أي النظام الذي يدير التطبيقات المعبأة في حاويات، إلى نتائج محددة. تركز على معرفة من يستطيع فعل ماذا، وكيف تُعدَّل الأمور، وما الأثر النهائي.

متى تستخدمها

  • ✓عندما تريد معرفة من لديه صلاحية الوصول إلى ماذا في Kubernetes.
  • ✓عندما تريد معرفة كيف يؤثر تغيير في جزء من النظام على الأجزاء الأخرى.
  • ✓عندما تحقق في كيفية الوصول إلى الأسرار، أي المعلومات الحساسة، أو إنشائها.

رابط المهارة

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-k8s-control-plane/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-k8s-control-plane/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“حلّل صلاحيات الوصول إلى الأسرار في مساحة الاسم «production» وأرني كيف ترتبط بالحاويات (pods) التي تستخدمها.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تتتبع المهارة الصلاحيات، مثل القراءة والإنشاء والتعديل، الممنوحة لأجزاء النظام المختلفة، مثل حسابات الخدمة. ثم تربط هذه الصلاحيات بالإجراءات التي تتيحها والنتائج التي تسببها، مثل إنشاء تطبيقات جديدة أو كشف المعلومات.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Competition K8s Control Plane

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 decisive path runs through Kubernetes control-plane state, API permissions, or controller behavior rather than a single container's runtime alone.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Separate manifest intent from live cluster state: API objects, mutations, controllers, secrets, and resulting workloads.
  2. Identify the active principal first: service account, kubeconfig identity, node credential, webhook, or controller.
  3. Map the smallest control-plane edge to its workload effect.
  4. Keep RBAC, service accounts, owner references, namespace boundaries, and secret consumers in compact evidence blocks.
  5. Reproduce the smallest cluster action that yields the decisive workload or secret effect.

Workflow

1. Map The API Trust Path

  • Record namespaces, service accounts, Roles, ClusterRoles, bindings, admission hooks, controllers, and the resources they can mutate.
  • Distinguish read access, create access, patch access, exec access, and secret access.
  • Keep principal, verb, resource, namespace, and resulting object in one chain.

2. Trace Mutation To Workload State

  • Show how an API action becomes a pod, volume mount, secret exposure, env injection, job run, or controller-created artifact.
  • Compare checked-in YAML against live objects after defaulting, admission mutation, or controller reconciliation.
  • Distinguish pod-runtime behavior from cluster-level mutation logic.

3. Reduce To The Decisive Cluster Path

  • Compress the result to the smallest chain: principal -> API permission -> mutated object -> resulting workload, secret, or route effect.
  • Keep kube objects, live describes, and consumed secret or config paths tied to the same namespace and controller.
  • If the problem narrows down to one container's mount or runtime deviation, switch back to the tighter container-runtime skill.

Read This Reference

  • Load references/k8s-control-plane.md for the RBAC checklist, controller checklist, and evidence packaging.
  • If the hard part is metadata-service reachability, workload identity, instance credentials, or metadata-derived privilege, prefer $competition-cloud-metadata-path.

What To Preserve

  • Namespace, service account, verb, resource kind, RoleBinding or ClusterRoleBinding, and owner reference chains
  • Admission mutations, generated workloads, mounted secrets, and controller-produced drift
  • The exact API action or object diff that creates the decisive effect
الأسئلة الشائعة

ما هو Kubernetes؟

هو نظام يساعد على إدارة التطبيقات التي تعمل داخل حاويات، مثل Docker، وأتمتتها، ويضمن أنها تعمل بشكل صحيح ومتاحة دائماً.

ما هي «حسابات الخدمة» و«RBAC»؟

حسابات الخدمة هويات تستخدمها التطبيقات داخل Kubernetes للتفاعل مع النظام. أما RBAC فهو نظام التحكم في الوصول حسب الأدوار، ويحدد الصلاحيات التي تملكها حسابات الخدمة وغيرها من المستخدمين.

ما الفرق بين هذه المهارة وأداة تحلل حاوية واحدة فقط؟

هذه المهارة تنظر إلى «دماغ» Kubernetes، أي مستوى التحكم، وكيف تؤثر الصلاحيات العامة على كل شيء، بينما تركز الأداة الأخرى على ما يحدث داخل حاوية واحدة فقط.

التفاصيل

الوصف الأصلي من المؤلف

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for Kubernetes API analysis, service-account trust, RBAC edges, admission and controller behavior, cluster secrets, workload mutation, and namespace-scoped drift. Use when the user asks to inspect kube API permissions, service-account tokens, RoleBinding or ClusterRoleBinding edges, admission webhooks, controller-created

repo: zhaoxuya520/reverse-skill

الشعبية

نجوم GitHub
42k
الترتيب
#6434
الترخيص
MIT
آخر تحديث
22‏/9‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة