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

competition-k8s-control-plane

Skill này làm gì

Công cụ này phân tích cách quyền hạn và hành động trong Kubernetes (hệ thống quản lý ứng dụng chạy trong container) dẫn đến các kết quả cụ thể. Nó tập trung vào việc ai được làm gì, các thay đổi diễn ra thế nào và hệ quả cuối cùng ra sao.

Khi nào nên dùng

  • ✓Khi bạn muốn hiểu ai có quyền truy cập vào cái gì trong Kubernetes.
  • ✓Để tìm xem một thay đổi ở một phần của hệ thống ảnh hưởng tới các phần khác thế nào.
  • ✓Khi điều tra cách các bí mật (thông tin nhạy cảm) được truy cập hoặc tạo ra.

Liên kết skill

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-k8s-control-plane/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-k8s-control-plane/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

“Phân tích quyền truy cập bí mật trong namespace “production” và cho tôi thấy chúng kết nối với các pod sử dụng chúng thế nào.”

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

Cách hoạt động

Công cụ theo dõi các quyền (như đọc, tạo hoặc sửa) được cấp cho các phần khác nhau của hệ thống (như service account). Sau đó nó ánh xạ các quyền này tới các hành động được phép và kết quả chúng gây ra, như tạo ứng dụng mới hoặc làm lộ thông tin.

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

Kubernetes là gì?

Đây là hệ thống giúp quản lý và tự động hóa các ứng dụng chạy trong container (như Docker), đảm bảo chúng hoạt động đúng và luôn sẵn sàng.

“Service accounts” và “RBAC” là gì?

Service account là danh tính mà các ứng dụng trong Kubernetes dùng để tương tác với hệ thống. RBAC (kiểm soát truy cập dựa trên vai trò) là hệ thống xác định các quyền mà service account (và người dùng khác) có.

Khác biệt giữa công cụ này và công cụ chỉ phân tích một container là gì?

Công cụ này nhìn vào “bộ não” của Kubernetes (control plane) và cách các quyền toàn cục ảnh hưởng tới mọi thứ, còn công cụ kia chỉ tập trung vào những gì xảy ra bên trong một container.

Chi tiết

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

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

Độ phổ biến

Sao GitHub
42k
Vị trí xếp hạng
#6434
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ự