container-escape-techniques
Skill by Zyrexnn
container-escape-techniques is a playbook for escaping from a container to its host. It is meant for assistants working inside Docker, LXC or Kubernetes pods, and covers privileged mode, capabilities, the Docker socket, cgroups, namespaces and runtime flaws.
Install container-escape-techniques
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Zyrexnn/Cybermes /tmp/Cybermes && mkdir -p ~/.claude/skills && cp -r /tmp/Cybermes/skills/container-escape-techniques ~/.claude/skills/container-escape-techniquesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install container-escape-techniques in Claude Code
git clone --depth 1 https://github.com/Zyrexnn/Cybermes /tmp/Cybermes && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Cybermes/skills/container-escape-techniques ~/.gemini/antigravity-cli/skills/container-escape-techniquesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install container-escape-techniques in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
container-escape-techniques is an agent skill defined in a SKILL.md file. It works as a playbook for moving from inside a container to the host. It is triggered when an assistant is operating inside a Docker container, LXC or Kubernetes pod. The source groups its content into container detection, privileged container escape, capability abuse, Docker socket abuse, cgroup release_agent, namespace tricks, runtime CVEs and Kubernetes pod escape.
The file also routes to related skills for Linux privilege escalation, Kubernetes pentesting and seccomp or AppArmor bypass. It names tools such as deepce, CDK, amicontained, PEIRATES and BOtB. The source describes it as an expert attack playbook for security work on container breakout.
Written from the project's SKILL.md and checked against it.
What it can do
- Container detectionLists checks to tell whether the assistant is inside a container, with tools such as amicontained, deepce and CDK.
- Privileged container escapeCovers mounting the host disk and using nsenter when a container runs in privileged mode.
- Capability-based escapeCovers CAP_SYS_ADMIN, CAP_SYS_PTRACE, CAP_NET_ADMIN and CAP_DAC_READ_SEARCH.
- Docker socket escapeCovers abuse of a mounted /var/run/docker.sock to create a privileged container.
- Cgroup and namespace techniquesCovers cgroup v1 release_agent, cgroup v2 and eBPF notes, and user or PID namespace tricks.
- Runtime and Kubernetes escapeLists runc and containerd CVEs, a kernel cgroup CVE, and risky Kubernetes pod spec settings.
What you need
- Access to a Docker, LXC or Kubernetes container environment
Try asking
- Check whether this container runs in privileged mode and list its capabilities.
- Which container escape paths apply to a container that has CAP_SYS_ADMIN?
- Is the Docker socket mounted in this pod, and what does that expose?
Good to know
- Several techniques depend on specific capabilities, cgroup versions or runtime versions.
- Full step-by-step escape chains are in a separate DOCKER_ESCAPE_CHAINS.md file.
- Some runtime CVE entries are brief and give no full steps.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/container-escape-techniques/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
DOCKER_ESCAPE_CHAINS.md9 KB -
SKILL.md9 KB
Alternatives to container-escape-techniques
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
container-escape-techniques: common questions
What does container-escape-techniques cover?
It covers escape from Docker, LXC and Kubernetes containers through privileged mode, capabilities, the Docker socket, cgroups, namespaces and runtime vulnerabilities.
Which tools does it mention?
The source names deepce, CDK, amicontained, PEIRATES and BOtB for detection and exploitation work.
Does it link to other skills?
Yes. It routes to linux-privilege-escalation, kubernetes-pentesting and linux-security-bypass for related topics.
How do I install container-escape-techniques?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is container-escape-techniques free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is container-escape-techniques safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to container-escape-techniques?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
