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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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
- Separate manifest intent from live cluster state: API objects, mutations, controllers, secrets, and resulting workloads.
- Identify the active principal first: service account, kubeconfig identity, node credential, webhook, or controller.
- Map the smallest control-plane edge to its workload effect.
- Keep RBAC, service accounts, owner references, namespace boundaries, and secret consumers in compact evidence blocks.
- 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.mdfor 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
Độ 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
Bình luận
- …
Thêm skill từ kho mã này
competition-ad-certificate-abuse
42kGiúp agent phân tích các cuộc tấn công nhắm vào hệ thống chứng chỉ số. Tìm hiểu cách chứng chỉ có thể bị lạm dụng để giành quyền truy cập.
competition-agent-cloud
42kGiúp agent phân tích các thách thức bảo mật trong hệ thống AI và đám mây. Tìm hiểu cách prompt, công cụ và đám mây có thể bị khai thác.
competition-android-hooking
42kGiúp agent điều tra các ứng dụng Android. Phân tích cách ứng dụng hoạt động bên trong và cách chúng có thể bị sửa đổi hoặc khai thác.
competition-browser-persistence
42kGiúp agent phân tích cách website lưu thông tin trên trình duyệt của bạn. Điều tra cookie và dữ liệu khác để hiểu cách phiên đăng nhập hoạt động.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.