T09 · Insecure Skill Coding Practices
- Location
SKILL.md:75- Finding
Unredacted Kubernetes Manifests May Be Disclosed to an External Service
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This Kubernetes manifest review skill appears purpose-aligned, but it can send complete manifests, including Secrets, to an external API without enough redaction or privacy guidance.
Review and redact manifests before use, especially Secret resources, tokens, private keys, passwords, internal hostnames, registry credentials, and sensitive annotations. Use only with data you are comfortable sending to the listed external service unless the publisher provides clear retention, logging, deletion, and privacy commitments.
SKILL.md:75Unredacted Kubernetes Manifests May Be Disclosed to an External Service
Code deploys a privileged Kubernetes workload (privileged container, hostPath mount, or host namespaces). This grants root on the node and is a node/cluster takeover vector.
{
"yaml_content": "apiVersion: v1\nkind: Pod\nmetadata:\n name: web-app\n namespace: production\nspec:\n containers:\n - name: nginx\n image: nginx:latest\n ports:\n - containerPort: 80\n securityContext:\n runAsNonRoot: false\n privileged: true\n resources:\n requests:\n memory: \"64Mi\"\n cpu: \"250m\"\n volumeMounts:\n - name: config\n mountPath: /etc/config\n volumes:\n - name: config\n secret:\n secretName: db-credentials"
}
The skill invites users to submit complete Kubernetes manifests, which commonly contain sensitive information such as Secret references, environment variables, internal hostnames, RBAC bindings, and sometimes embedded secret material. The documentation does not clearly warn that this data will be sent to an external third-party API, creating a material data exposure and privacy risk through inadvertent disclosure.
The skill references an external API endpoint for processing Kubernetes manifests, which means user-supplied infrastructure definitions are transmitted outside the local trust boundary. Because Kubernetes YAML often encodes sensitive operational details and sometimes secrets, this external transmission can expose confidential data if users are not fully informed or if the service is not appropriately governed.
## References
- **Kong Route:** https://api.mkkpro.com/security/k8s-security-review
- **API Docs:** https://api.mkkpro.com:8022/docs