hunt-k8s

Fail

Audited by Gen Agent Trust Hub on Nov 23, 2026

Risk Level: HIGHCOMMAND_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATIONREMOTE_CODE_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides instructions for the agent to use local command-line tools such as nmap, curl, kubectl, and etcdctl to interact with target systems. For example, it uses nmap for port discovery and kubectl for node debugging.
  • [CREDENTIALS_UNSAFE]: The instructions include commands to retrieve and decode sensitive Kubernetes credentials, including Service Account (SA) tokens and secrets from etcd. It also describes accessing cloud metadata endpoints (IMDS) to obtain environment-specific credentials. Evidence includes cat /var/run/secrets/kubernetes.io/serviceaccount/token and curl -sk "$SRV/api/v1/secrets".
  • [EXTERNAL_DOWNLOADS]: The skill identifies third-party tools like kubeletctl, websocat, and wscat as requirements for performing specific auditing tasks, such as streaming output from the Kubelet exec API.
  • [PRIVILEGE_ESCALATION]: The skill documents procedures for container escape and gaining host-level access, such as via Docker socket exposure or exploiting runc vulnerabilities. It includes examples of bind-mounting the host root filesystem and using chroot for host filesystem access.
  • [REMOTE_CODE_EXECUTION]: The skill utilizes shell pipes to send output from remote API endpoints to the Python interpreter for data formatting and parsing. Evidence includes the use of curl -s "http://$TARGET:10255/pods" | python3 -m json.tool.
Recommendations
  • HIGH: Downloads and executes remote code from: http://$TARGET:10255/pods, http://$TARGET:2379/v2/keys/?recursive=true - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 23, 2026, 03:39 PM