kube-medic
Pass
Audited by Gen Agent Trust Hub on Mar 27, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill executes
kubectlandjqcommands to perform cluster diagnostics. This is the primary and intended function of the skill. The execution environment is secured by global shell settings (set -euo pipefail), double-quoted variables, and avoidence ofevalor shell interpolation. - [REMOTE_CODE_EXECUTION]: The skill includes a
--confirm-writefeature for remediation actions. This is protected by a strict allowlist restricted to specific, non-destructivekubectloperations (rollout undo, rollout restart, scale, delete pod, cordon, uncordon). It explicitly blocks high-risk commands likekubectl execand rejects shell metacharacters to prevent command injection. - [DATA_EXFILTRATION]: While the skill accesses cluster information including pod logs and events, it does so within the user's local environment. The
SECURITY.mdexplicitly states that sensitive data like kubeconfig paths, service account tokens, and Kubernetes Secrets are never included in the output. The tool utilizesjq --argfor all JSON construction to ensure data remains structured and safe. - [PROMPT_INJECTION]: The
SKILL.mdinstructions guide the agent to act as an SRE and correlate data, but do not contain instructions to bypass safety filters or ignore system constraints. The interaction model requires explicit user confirmation for any write operations. - [EXTERNAL_DOWNLOADS]: The skill does not perform any external downloads at runtime. All dependencies (
kubectl,jq) are expected to be pre-installed on the host system.
Audit Metadata