hunt-k8s
Fail
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: HIGHINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes data fetched from external, potentially attacker-controlled Kubernetes APIs and cloud metadata services, which could contain malicious instructions designed to manipulate the agent's behavior.
- Ingestion points: The agent ingests data from various network endpoints in SKILL.md, including Kubernetes API responses (e.g.,
/pods,/secrets,/version), etcd keys, and Cloud provider metadata services (IMDS). - Boundary markers: There are no boundary markers, delimiters, or system instructions advising the agent to ignore potentially malicious embedded content within the ingested JSON or text data.
- Capability inventory: The skill possesses significant capabilities that could be abused if an injection succeeds, including network operations (
curl,nmap), Kubernetes cluster manipulation (kubectl), and local file system access for logging evidence. - Sanitization: No sanitization or validation is applied to external content before it enters the agent's active context. Formatting via
python3 -m json.toolhandles structure but does not mitigate prompt-level attacks.
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