Skip to content

pale-knight/redteam-skill / skills/k8s

Kubernetes 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.

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
```
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: 471kUpdated Claude CodeCodexVerifiedInstall
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: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall