hunt-k8s

Identify and validate Kubernetes and Docker security misconfigurations.

3|1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/EntroVyx/hermes-agent-offsec --skill hunt-k8s-entrovyx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-k8s
Source: https://github.com/EntroVyx/hermes-agent-offsec/tree/main/skills/offsec/redteam/hunt-k8s
Command: npx skills add https://github.com/EntroVyx/hermes-agent-offsec --skill hunt-k8s-entrovyx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the complexity of identifying and validating high-impact security misconfigurations in containerized environments, preventing the reliance on false positives and ensuring accurate risk assessment.

Core Features & Use Cases

  • Automated Fingerprinting: Rapidly identifies exposed K8s/Docker services and version-specific vulnerabilities.
  • Privilege Validation: Performs rigorous checks using SelfSubjectRulesReview to confirm actual cluster permissions rather than inferring from status codes.
  • Exploit Chain Verification: Provides structured workflows to prove impact for critical findings like Kubelet RCE, etcd credential exposure, and container escapes.

Quick Start

Use the hunt-k8s skill to audit the target cluster for anonymous API access and potential kubelet RCE vectors.

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

You can audit Kubernetes API server anonymous access by using automated fingerprinting to identify exposed services and validate misconfigurations. This approach ensures accurate risk assessment during penetration testing by preventing reliance on false positives.

What is Kubelet RCE and how does container escape validation work?

Kubelet RCE is a critical vulnerability allowing remote code execution via exposed Kubelet endpoints. Container escape validation involves structured workflows to prove impact by verifying exploit chains, ensuring actual cluster permissions are confirmed rather than inferred from status codes.

Do I need curl and nmap to perform Docker security auditing?

Yes, Docker and Kubernetes security auditing requires standard command-line tools including curl, nmap, and python3 for data processing. Network connectivity to target ports is also necessary to identify and validate high-impact misconfigurations.

How to validate Kubernetes cluster permissions during a penetration test?

You validate Kubernetes cluster permissions by performing rigorous checks using SelfSubjectRulesReview to confirm actual access levels. This prevents inaccurate risk assessments during penetration testing by confirming permissions directly rather than inferring them from HTTP status codes.

Can I verify etcd credential exposure and container escape impact?

Yes, you can verify etcd credential exposure and container escape impact using structured exploit chain verification workflows. This proves the actual impact of critical findings, ensuring high-impact security misconfigurations in containerized environments are accurately validated.

What are the limitations of inferring Kubernetes security risks from status codes?

Inferring Kubernetes security risks from status codes often produces false positives. This skill overcomes this limitation by applying privilege validation with SelfSubjectRulesReview to confirm actual cluster permissions, ensuring accurate risk assessment for infrastructure hardening tasks.