pale-knight/redteam-skill / skills/k8s
k8s
FlaggedKubernetes and container exploitation: identity/RBAC, secrets, kubelet/etcd, managed-cloud workload identities, container-to-node escape including CVE-2026-31431 Copy Fail, and Kubernetes-native persistence. Use when already in a Pod/container or holding kubeconfig. Own the chain to cluster-admin, node root, or a usable cloud identity. Operator chooses next modules. Endpoint blocks after OS execution hand off to /edr-bypass then return.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.1 KB |
| references/cloud-identity.md | markdown | 1.8 KB |
| references/container-escape.md | markdown | 4.5 KB |
| references/k8s-persistence.md | markdown | 3.8 KB |
| references/k8s-tools.md | markdown | 1.8 KB |
| references/rbac-abuse.md | markdown | 3.1 KB |
| references/vulnerability-intelligence.md | markdown | 675 B |
references/vulnerability-intelligence.md
View on GitHub# K8s 组件 CVE 门控
通用流程 → **`../../shared/cve-enrichment.md`**。按组件拆,不要只搜 “Kubernetes”。
```bash
kubectl get nodes -o json | jq -r '.items[] | [.metadata.name,.status.nodeInfo.kubeletVersion,.status.nodeInfo.containerRuntimeVersion,.status.nodeInfo.kernelVersion,.status.nodeInfo.osImage] | @tsv'
```
分别查:kubelet / containerd / CRI-O / runc / kernel / CNI / ingress / operator。
Managed 集群看云厂商 backport。Copy Fail CVE-2026-31431 还要同节点、共享镜像层、seccomp/AF_ALG 等前置,见 `container-escape.md`。
```bash
vulnx id CVE-2026-31431
vulnx search 'kubernetes && is_kev:true' --limit 20
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |