Kubernetes misconfig

From zakirkun/ice-tea · View interactive version

Kubernetes misconfig is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects insecure Kubernetes pod and container configurations including privileged containers, hostPID, hostNetwork, and missing resource limits.

How to use this skill

Skill file

Kubernetes Misconfiguration

Overview

Kubernetes misconfigurations can lead to cluster takeover and container escapes:

  1. privileged: true: Pod container with root-level host access
  2. hostPID: true: Pod shares host PID namespace — can see/kill host processes
  3. hostNetwork: true: Pod uses host network, bypassing network policies
  4. allowPrivilegeEscalation: true: Allows container processes to gain more privileges
  5. runAsRoot: true or no runAsNonRoot: Container runs as root
  6. No resource limits: Resource exhaustion DoS possible
  7. Wildcard RBAC permissions: resources: ["*"] with verbs: ["*"]

Remediation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.