hunt-k8s

Identify Kubernetes and Docker security misconfigurations enabling unauthorized access and data leakage.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Kubernetes and Docker security assessments for containerized workloads, identifying anonymous API access, kubelet exposure, etcd unauth access, dashboard exposure, RBAC misconfig, secret leakage, and service account token abuse to help defenders prioritize remediation.

Core Features & Use Cases

  • Fingerprint and port discovery across Kubernetes control planes and container runtimes.
  • Phase-driven tests for API anonymous access, kubelet unauth on port 10250, etcd unauth on 2379, dashboards exposure, RBAC misconfig, and SA token abuse.
  • Guided workflow covering dashboard exposure, secret leakage, and privilege escalation chains with real-world risk context.

Quick Start

Run the hunt-k8s workflow against your Kubernetes or containerized target to enumerate anonymous access, kubelet exposure, etcd access, Docker socket exposure, and SA token abuse.

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 for anonymous access vulnerabilities?

To check Kubernetes API anonymous access, run a phase-driven workflow that fingerprints the control plane and tests for unauthenticated API requests, identifying misconfigurations that enable unauthorized access to cluster resources.

What is kubelet exposure on port 10250 and how do I detect it?

Kubelet exposure on port 10250 is a security misconfiguration allowing unauthenticated access to node APIs. You detect it by running targeted unauth checks against exposed kubelet endpoints to identify unauthorized command execution risks.

How do I test etcd for unauthenticated access on port 2379?

Testing etcd for unauthenticated access on port 2379 involves probing the exposed etcd database endpoint to verify whether sensitive cluster state data and secrets can be retrieved without valid credentials.

Can I detect Docker socket exposure and service account token abuse in Kubernetes?

Yes, you can detect Docker socket exposure and service account token abuse by running guided workflow tests that enumerate exposed container runtime sockets and validate whether compromised SA tokens enable privilege escalation.

Does this Kubernetes security assessment work on cloud metadata environments?

Yes, the security assessment applies to cloud metadata environments by identifying Kubernetes and Docker misconfigurations across containerized infrastructure, including exposed dashboards, RBAC issues, and secret leakage in cloud-hosted clusters.

What is the best way to find Kubernetes dashboard exposure and RBAC misconfigurations?

The best way to find Kubernetes dashboard exposure and RBAC misconfigurations is through a phase-driven workflow that fingerprints exposed dashboard endpoints and evaluates role-based access control settings for privilege escalation chains.