k8s-troubleshooter
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/check_namespace.pyutilizessubprocess.runto executekubectlcommands. While it uses argument lists rather than shell strings to mitigate direct shell injection, it represents an active system command execution surface driven by user-supplied namespace arguments. - [COMMAND_EXECUTION]: The documentation provides numerous examples of high-privilege operations, including
sshaccess to nodes for runningsystemctl,journalctl, and disk benchmarking viadd(found inreferences/performance_troubleshooting.md). While these are standard tools for troubleshooting, they provide a powerful execution path that could be misused if the agent is manipulated. - [EXTERNAL_DOWNLOADS]: The
references/helm_troubleshooting.mdfile recommends installing Helm plugins from external GitHub repositories (databus23/helm-diffandjkroepke/helm-secrets). These are recognized community tools and are documented neutrally as part of the troubleshooting workflow. - [INDIRECT_PROMPT_INJECTION]: The diagnostic logic processes untrusted data from the Kubernetes cluster environment, which could be exploited to influence the agent's behavior through malicious metadata.
- Ingestion points: The
scripts/check_namespace.pyscript parses JSON output fromkubectl getcommands for pod statuses, events, and resource metadata. - Boundary markers: Absent. There are no explicit instructions or delimiters for the agent to treat data returned by the diagnostic scripts as untrusted or potentially adversarial.
- Capability inventory: The skill provides extensive cluster access capabilities, including
kubectl exec,kubectl apply, and node-levelsshaccess. - Sanitization: Absent. The script passes raw strings retrieved from the Kubernetes API (such as pod names and event reasons) directly into the output strings presented to the agent.
Audit Metadata