h3nr1-d14z

Container Escape — Testing skill for Claude Code

Testing community

Test container escape vectors on: $ARGUMENTS.

How to install Container Escape

Installs to ~/.claude/commands/h3nr1-d14z-ai-redteam-toolkit-container-escape.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/h3nr1-d14z/ai-redteam-toolkit/HEAD/.claude/commands/container-escape.md -o ~/.claude/commands/h3nr1-d14z-ai-redteam-toolkit-container-escape.md

Restart Claude Code, or start a new session, for it to be picked up.

What Container Escape does

Test container escape vectors on: $ARGUMENTS

  1. Container info: Identify runtime (Docker/containerd/CRI-O), check cgroup version, namespace isolation
  2. Privileged check: Test if container is privileged (--privileged), has dangerous capabilities (SYS_ADMIN, SYS_PTRACE, DAC_OVERRIDE)
  3. Mount check: Look for mounted Docker socket (/var/run/docker.sock), host filesystem mounts, sensitive procfs/sysfs
  4. Kernel exploits: Check kernel version for known container escapes (CVE-2022-01

Alternatives in Testing

  • Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
  • #29 — #52, #103) 92.5k ★
  • /test Routing — Vérifie le routing de commandes RTK sans exécution (dry-run) 25.5k ★

Full documentation available on GitHub

View Source Repository