Kubernetes Workload Risk Gate
by Prateek
Reviews Kubernetes manifests exported as JSON for privileged pods, host access, missing limits and unsafe capabilities.
Free
What it does
- Flags privileged containers and dangerous capabilities
- Catches host network, pid, ipc and hostPath mounts
- Finds containers that run as root
- Checks image pinning and resource limits
Who it's for
DevOps engineers and SREs
Check your manifests for common security holes before they hit production.
Try asking: “Review these deployment manifests for any privileged container risks.”
Security auditors checking cloud setups
Identify pods with host access or missing resource limits during an audit.
Try asking: “Score these Kubernetes workloads and find which ones run as root.”
Developers deploying to Kubernetes
Harden your app by getting the exact security settings you need to add.
Try asking: “Review my pod manifest and show me how to add resource limits.”
Kubernetes Workload Risk Gate
Example session with this skill installed
Please review my deployment JSON for risks. I want to make sure no containers are running as root and that I have proper limits set.
- Read your context and instructions
- Compiled the kubernetes workload risk
I will review your Kubernetes deployment for security risks and resource limits. I am running the check now.
Review Verdict: BLOCK
Security Score: 45/100
I found several high-risk settings that should be fixed before you apply this manifest.
| Workload | Container | Severity | Issue | Fix |
|---|---|---|---|---|
| your-app | main-container | CRITICAL | Privileged container | Set privileged: false |
| your-app | main-container | HIGH | Runs as root (UID 0) | Set runAsNonRoot: true |
| your-app | main-container | MEDIUM | No resource limits | Add resources.limits |
| your-app | main-container | LOW | Writable filesystem | Set readOnlyRootFilesystem: true |
Hardened Security Context
You should add or update the securityContext block in your pod spec with these settings:
securityContext:
allowPrivilegeEscalation: false
privileged: false
readOnlyRootFilesystem: true
runAsNonRoot: true
capabilities:
drop:
- ALL
I also recommend adding specific CPU and memory limits to your container resources to prevent the pod from using too many node resources. Would you like me to help you define those limit values?
Connects securely to your tools. The creator never sees your data.
About this skill
Running apps in Kubernetes is common, but one small setting can let a hacker take over a whole server. This skill looks through your Kubernetes files to find the settings that turn a simple bug into a major breach. It checks for things like containers running with too much power, access to the host computer, or missing limits that could crash your cluster.
How it works
- You provide your Kubernetes manifest files in JSON format.
- Your AI agent runs a check on every container and workload you shared.
- The skill gives a score and a clear verdict of Pass, Review, or Block.
- You get a table showing exactly what is wrong and how risky it is.
- The skill provides the exact lines of code to copy and paste to fix the high risks.
Frameworks & tools
This skill uses a Python script to scan JSON manifest files exported from Kubernetes tools.
Why this beats prompting it yourself
Asking a standard AI to "look for bugs" often misses specific Kubernetes risks like privilege escalation or host path volumes. This skill follows a strict set of rules to score risks from 0 to 100 and ensures you get the exact YAML code needed for a fix rather than just general advice.
Use cases
- Checking a new Deployment file before you send it to the live cluster
- Finding every container that is still running as the root user
- Adding CPU and memory limits to prevent one app from slowing down others
- Preparing for a security review by identifying containers with host access
Known limitations
This only reads JSON files. It cannot see your network rules, user permissions, or what is actually inside your container images. Missing a finding does not guarantee the pod is 100% safe.
Built for reviewing Kubernetes manifests exported as JSON. It uses a bundled Python script (review_k8s.py) to parse the JSON and evaluate risks like privileged: true, hostNetwork, and missing resource limits. It outputs a risk score (0-100), a finding table, and specific YAML snippets for the securityContext block.
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
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 day ago
- Free with an Agensi account
- Software
Python 3.9+
Permissions
File Scopes
Read-only. Nothing is applied to a cluster.
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.