Task
SkillCloud & infraReviews Kubernetes Admission Control (Webhooks, VAP/MAP) for vulnerabilities.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Task skill
What this skill tells your AI
The instructions your AI receives, as published by gke-labs/kube-agents in .agents/skills/review-security-k8s-admission/SKILL.md and read by ahel’s review.
Review Kubernetes Admission Control (ValidatingWebhookConfiguration, MutatingWebhookConfiguration, ValidatingAdmissionPolicy, MutatingAdmissionPolicy).
Checks
1. Webhook Failure Modes & DoS
- Fail Closed: Flag
failurePolicy: Ignoreon security webhooks as a bypass risk (DoS allows bypass). PreferFail. - Timeouts: Flag high
timeoutSeconds(e.g. 30s) as API connection exhaustion risks.
2. Scope Evasion
- Exemptions: Scrutinize
namespaceSelector/objectSelector. Flag blanketkube-systemexemptions; recommend specific label targeting. - Binding Scope: Ensure VAP/MAP bindings don't inadvertently exclude critical users/namespaces.
- CEL Failures: Flag VAP
failurePolicy: Ignorefor runtime errors. PreferFail. - Message Leakage: Ensure VAP
messageExpressionhides sensitive cluster metadata.
3. Traffic Security
- TLS: Require
caBundleand HTTPS. - Ingress: Require
NetworkPolicyrestricting webhook ingress solely to the API server.
4. Mutating Risks
- Injection Abuse: Flag if label/annotation manipulation allows unprivileged pods to inject privileged sidecars/env vars.
- Reinvocation: Review the inent of the webhook and identify if
reinvocationPolicy: IfNeededshould be required. This ensures, if later webhooks make mutations that earlier webhooks have an opinion on, that the earlier webhooks are run again to ensure the same policies are applied to those later mutations. In general, if certain mutations are always expected, a validating webhook should also be used to confirm the mutation was successful. Validation always runs after mutation. - CEL Side Effects: Ensure MAP safely merges data without stripping security contexts.
- Execution Order: Flag if legacy mutating webhooks can overwrite secure baselines injected by earlier MAPs.
Signals
- GitHub stars
- 54
- Forks
- 36
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
review-security-k8s-admission- Source
- github.com/gke-labs/kube-agents