본문으로 건너뛰기
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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-k8s-control-plane/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“‘production’ 네임스페이스의 비밀 접근 권한을 분석하고, 그것이 이를 사용하는 파드와 어떻게 연결되는지 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

서비스 계정 같은 시스템의 여러 부분에 부여된 권한(읽기, 생성, 수정 등)을 추적합니다. 그다음 이 권한을 허용하는 행동과 그 결과(예: 새 애플리케이션 생성이나 정보 노출)에 연결합니다.

기술 내용 (원본 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
업데이트
2026. 9. 22.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬