kubernetes-operations
Pass
Audited by Gen Agent Trust Hub on Oct 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes Python scripts to wrap and execute
kubectlCLI commands, allowing the agent to interact directly with a Kubernetes cluster. - Evidence:
scripts/debug_pod.py,scripts/get_resources.py, andscripts/cluster_health.pyall usesubprocess.run()to executekubectlwith various arguments. The implementation uses list-based arguments which mitigates shell injection risks, and the commands are central to the skill's stated purpose. - [INDIRECT_PROMPT_INJECTION]: The skill processes external, potentially attacker-controlled data from within the Kubernetes cluster, creating a surface for indirect prompt injection.
- Ingestion points:
scripts/debug_pod.py(viakubectl logs) andscripts/cluster_health.py(viakubectl get podsand events) ingest raw logs, pod statuses, and event messages into the agent's context. - Boundary markers: Absent; the scripts print the raw output from Kubernetes directly to the console without delimiters or instructions to the agent to ignore embedded commands.
- Capability inventory: The skill enables high-privilege operations including
kubectl exec(shell access),kubectl delete(resource removal), andkubectl apply(configuration changes), as documented inSKILL.md. - Sanitization: Absent; the external content from logs and events is not filtered or escaped before being presented to the agent.
Audit Metadata