Lp3
Medium
- Category
- MCP Least Privilege
- Confidence
- 86% confidence
- Finding
- The skill instructs the agent to run shell commands (`kubectl`, scripts, Python) and write diagnostic output to files, but it does not declare permissions for shell, environment access, or file writes. That creates a trust and containment gap: an orchestrator may expose broader capabilities than intended, and users are not clearly informed that the skill can execute cluster-affecting commands and persist data. In this Kubernetes context, the risk is elevated because even primarily diagnostic commands can access sensitive cluster metadata, logs, and secrets-adjacent configuration, and the document also includes disruptive operational commands if followed.
