- Home
- Skills
- DevOps & Cloud
- Kubernetes Manifest Safety Check
More screenshots
Works with the AI Agents you already use
Kubernetes Manifest Safety Check
Check Kubernetes YAML before kubectl apply: privileged pods, passwords in env, Secret manifests in git, Docker socket hostPath mounts, host network, root containers, missing memory limits and exposed databases.
$5
Kubernetes Manifest Safety Check
Example session with this skill installed
Check this project with kubernetes-manifest-safety-check.
- Read your context and instructions
- Compiled the kubernetes manifest safety
$ python3 scripts/check_k8s.py examples/risky BLOCK app.yaml:15 K02 SECRET_IN_ENV DB_PASSWORD=<redacted, 19 chars> **Why:** A password, token or key is written as a plain env value in the manifest, so anyone who can read the repository or describe the pod can read it. **Safer:** Rotate it, store it in a Secret (created outside git or with a secrets manager), and use valueFrom.secretKeyRef. BLOCK app.yaml:17 K01 PRIVILEGED_CONTAINER BLOCK app.yaml:23 K04 HOSTPATH_RUNTIME_OR_ROOT BLOCK app.yaml:33 K03 SECRET_MANIFEST_WITH_VALUES REVIEW app.yaml:9 K12 HOST_NAMESPACE REVIEW app.yaml:11 K13 ROOT_ALLOWED REVIEW app.yaml:11 K16 NO_MEMORY_LIMIT REVIEW app.yaml:12 K11 UNPINNED_IMAGE REVIEW app.yaml:19 K14 DANGEROUS_CAPABILITY REVIEW app.yaml:26 K15 HOSTPATH_SYSTEM_FOLDER REVIEW app.yaml:43 K17 DATABASE_SERVICE_EXPOSED (Each finding also has Why and Safer lines, as in the first one.) **Verdict:** BLOCK. Checked 1 file, 1 with Kubernetes content. This is a static check of file text. NOT FLAGGED is not a guarantee.
Connects securely to your tools. The creator never sees your data.
About this skill
A Secret manifest in git is only base64, and a single privileged container can take over its node. This skill finds those and nine other risky settings in your Kubernetes manifests, and tells you how to fix each one. Your agent runs a scanner on your YAML manifests: Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, Pods, Services and Secrets, including init containers, kind: List files and multi-document files. It returns BLOCK, REVIEW, or NOT FLAGGED, with the file, line, reason, and a safer approach. Secret values are never printed. What it checks BLOCK - K01: a privileged container - K02: a password, token or key written as a plain env value - K03: a Secret manifest with real data or stringData values - K04: a hostPath mount of the container runtime socket or the node root REVIEW - K11: an image with no tag or :latest - K12: hostNetwork, hostPID or hostIPC - K13: a container that may run as root - K14: dangerous capabilities such as SYS_ADMIN or ALL - K15: a hostPath mount of a node system folder - K16: no memory limit - K17: a database port exposed through LoadBalancer or NodePort What's included - The scanner (Python 3.9+, standard library only) - A rules guide with the reason and safer approach for each rule - A risky and a safe example manifest, and the real report the scanner produces on the risky one Limits It reads YAML text. It does not render Helm templates or Kustomize overlays, and it cannot see admission policies or what is running in the cluster. NOT FLAGGED is not a guarantee.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.
Static check of manifest YAML. Helm templates and Kustomize overlays are not rendered; check rendered output. NOT FLAGGED is not a guarantee.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
- Software
python3 (3.9 or newer)
Permissions
Runs one local Python script in the terminal. It reads your project's files, writes nothing, and makes no network calls. The example manifest includes a clearly fake, inert password (not-a-real-password) for the scanner to find.