skills/skobyn/talon/hunt-k8s/Gen Agent Trust Hub

hunt-k8s

Fail

Audited by Gen Agent Trust Hub on Nov 3, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONPRIVILEGE_ESCALATION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill pipes unauthenticated network data from Kubernetes and etcd endpoints directly into the Python interpreter for formatting. While the commands specify the use of the 'json.tool' module, the pattern of piping network output to a language interpreter is a classic risk vector.
  • Evidence: curl -s "http://$TARGET:10255/pods" | python3 -m json.tool in Phase 3.
  • Evidence: curl -s "http://$TARGET:2379/v2/keys/?recursive=true" | python3 -m json.tool in Phase 5.
  • [DYNAMIC_EXECUTION]: Executes Python code snippets at runtime using the '-c' flag to process and count data returned from the Kubernetes API.
  • Evidence: curl -sk "$SRV/api/v1/secrets" | python3 -c 'import sys,json;d=json.load(sys.stdin);print(len(d.get("items",[])),"secrets")' in Phase 2.
  • [DATA_EXFILTRATION]: Provides automated commands to identify and extract high-value sensitive data, including Kubernetes Secrets, Service Account tokens, and environment-specific cloud metadata.
  • Evidence: Commands targeting /var/run/secrets/kubernetes.io/serviceaccount/token and the AWS/GCP/Azure metadata services (169.254.169.254).
  • [PRIVILEGE_ESCALATION]: Contains explicit instructions for container escape techniques to gain root access on the host node via the Docker socket and known runc vulnerabilities.
  • Evidence: Instructions for creating privileged containers via /var/run/docker.sock and exploiting CVE-2024-21626 (Leaky Vessels) in Phase 7.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from untrusted external Kubernetes API surfaces.
  • Ingestion points: Kubernetes API server responses, etcd key-value ranges, and pod log streams.
  • Boundary markers: Absent. There are no instructions to the agent to treat external data as untrusted or to ignore instructions embedded in the results.
  • Capability inventory: High-privilege shell command execution (curl, nmap, etcdctl) and Python interpreter access.
  • Sanitization: Absent. The agent is directed to parse and report on raw output from external targets without validation.
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 3, 2026, 11:47 PM