hunt-k8s

Identify Kubernetes and Docker misconfigurations enabling unauthorized access, RCE, or credential exposure.

3.3k|507|Updated May 5, 2026
One-click install
npx skills add https://github.com/elementalsouls/Claude-BugHunter --skill hunt-k8s-elementalsouls
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-k8s
Source: https://github.com/elementalsouls/Claude-BugHunter/tree/main/skills/hunt-k8s
Command: npx skills add https://github.com/elementalsouls/Claude-BugHunter --skill hunt-k8s-elementalsouls

SYSTEM DOCUMENTATION & REQUIREMENTS

Hunt Kubernetes & Docker — API anonymous access, kubelet 10250 exec (SPDY/WebSocket, NOT plain POST) and the simpler /run primitive, etcd 2379 unauth, dashboard skip-login, RBAC misconfig, secret/SA-token abuse, docker.sock host escape, runc/container-escape (Leaky Vessels CVE-2024-21626), API-server-mediated nodes/proxy RCE, EphemeralContainers node-shell, bound/projected SA-token audience+expiry abuse, admission-controller bypass, Helm/Tiller remnants. Use when target runs containerized infra, exposes K8s ports (6443/10250/10255/2379/8443), or cloud metadata reveals K8s service accounts.

Frequently Asked Questions about hunt-k8s

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check Kubernetes API port 6443 for anonymous access and RCE paths?

Check Kubernetes API port 6443 for anonymous access by performing version checks, RBAC reviews, and token decoding to identify unauthorized access paths. Validate impact using safe proof artifacts while avoiding destructive actions during the security assessment.

What Kubernetes misconfigurations expose service account tokens and credentials?

Kubernetes misconfigurations exposing service account tokens include insecure RBAC permissions, bound or projected SA-token audience abuse, and exposed etcd on port 2379. Review RBAC configurations and decode tokens to detect credential exposure paths.

How can I test kubelet port 10250 for remote code execution without destructive actions?

Test kubelet port 10250 for remote code execution by using the SPDY or WebSocket exec primitives and the /run endpoint, rather than plain POST requests. Validate RCE paths safely with proof artifacts to avoid destructive actions during testing.

Does this Kubernetes security scan cover Docker container escapes like CVE-2024-21626?

This Kubernetes security scan covers Docker container escapes including the Leaky Vessels CVE-2024-21626 runc vulnerability. It identifies docker.sock host escape paths and container escape techniques across exposed containerized infrastructure.

What is the best way to find Helm Tiller remnants and dashboard skip-login vulnerabilities in a cluster?

Find Helm Tiller remnants and dashboard skip-login vulnerabilities by scanning exposed Kubernetes ports 6443, 10250, 10255, 2379, and 8443. Document misconfigurations enabling unauthorized access to ensure comprehensive cluster security coverage.

Can I use this to detect admission controller bypass and EphemeralContainers node-shell risks?

Detect admission controller bypass and EphemeralContainers node-shell risks by reviewing API-server-mediated nodes/proxy RCE paths. Apply security checks across clusters exposing Kubernetes ports and cloud metadata surfaces revealing service accounts.