container-overview
它能做什么
这项技能是容器与 Kubernetes 安全工作的索引,指向 Pod 逃逸、RBAC、Docker 套接字暴露和运行时漏洞等指南。适合审查自己集群的平台团队和安全团队。
适用场景
- ✓当平台团队询问哪项容器安全指南适用于某个集群问题时。
- ✓当智能体需要判断某项发现属于 Pod 内部、API 内部还是构建流水线时。
- ✓当审查需要从观察到的容器配置快速找到对应检查项时。
技能链接
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/cloud/container/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们的构建运行器运行在容器中,那我应该对它们进行哪些容器安全检查?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体先识别对象,例如 Pod、服务账户或套接字挂载,然后只加载与之匹配的那一份指南。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Container / Kubernetes Attack Category
This is a routing skill for cloud-native engagements. Identify the surface, then load the matching sub-skill.
Sub-skills
| Sub-skill | Covers | When to load |
|---|---|---|
| k8s-pod-escape | Privileged container, hostPath escape, hostPID + SYS_PTRACE, runC CVE chains, cgroup release agent | RCE inside a pod, goal is node compromise |
| k8s-rbac-abuse | auth can-i --list, pods/exec on privileged pods, secrets get/list, escalate verb, bind verb, impersonate, nodes/proxy |
You have a ServiceAccount token; goal is cluster-admin |
| docker-socket-mount | /var/run/docker.sock or containerd socket mounted in → instant host root |
CI runners, ArgoCD/Flux, DinD, Jenkins agents |
| container-cve | Catalog of high-impact runtime CVEs — Leaky Vessels, runC 2019-5736, BuildKit chain, CRI-O 2022-0811 | Container runtime version fingerprinted |
Quick routing
Container target identified?
├── You have RCE in a pod / container → k8s-pod-escape
├── You have a Kubernetes SA token → k8s-rbac-abuse
├── Socket mounted (`docker.sock`, etc.) → docker-socket-mount
├── Runtime version is old / vulnerable → container-cve
└── Unknown / all of above → start with k8s-pod-escape's Phase 1
Tooling
| Tool | Use |
|---|---|
kubectl |
API-level enumeration and abuse |
kube-hunter |
Automated cluster vulnerability scan |
kdigger |
In-cluster recon (Quarkslab) |
peirates |
Kubernetes-specific privilege escalation |
botb |
Container break-out (Brad-Beam et al.) |
nsenter |
Cross-namespace process / mount entry |
crictl / ctr / nerdctl |
containerd / CRI direct access |
常见问题
它列出了哪些子指南?
它列出了 Pod 逃逸、Kubernetes RBAC、Docker 和 containerd 套接字挂载,以及容器运行时漏洞等指南。
为什么要先做路由?
该技能指出,每类对象需要不同的检查,因此一次加载所有指南并不高效。
它适用于自有或已批准的集群吗?
是的。该索引面向对容器环境的授权审查。
详情
作者的原始描述
Container / Kubernetes attack category — pod escape, RBAC abuse, runtime CVE exploitation, socket-mount escape. Routing skill: identify the surface (pod-internal RCE vs API-level vs build-pipeline), then load the matching sub-skill.
热度
- GitHub 星标
- 6.5k
- 排名
- #13987
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/1
评论
- …