review-security-k8s-admission

Analyze Kubernetes admission webhooks and policies for security misconfigurations.

42|32|Updated May 7, 2026
One-click install
npx skills add https://github.com/gke-labs/kube-agents --skill review-security-k8s-admission
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-security-k8s-admission
Source: https://github.com/gke-labs/kube-agents/tree/main/.agents/skills/review-security-k8s-admission
Command: npx skills add https://github.com/gke-labs/kube-agents --skill review-security-k8s-admission

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies critical security misconfigurations in Kubernetes admission controllers that could lead to cluster bypass, denial of service, or unauthorized privilege escalation.

Core Features & Use Cases

  • Webhook Hardening: Detects insecure failure policies and excessive timeouts that threaten cluster availability.
  • Scope & Policy Audit: Validates namespace selectors and CEL policy configurations to prevent accidental security exemptions.
  • Mutation Risk Analysis: Reviews mutating webhooks and policies to ensure they do not introduce sidecar injection vulnerabilities or overwrite security baselines.

Quick Start

Use the review-security-k8s-admission skill to audit the current cluster admission configuration for potential security vulnerabilities.

Frequently Asked Questions about review-security-k8s-admission

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Kubernetes admission webhooks for security vulnerabilities?

To audit Kubernetes admission webhooks for security vulnerabilities, analyze failure policies, timeout configurations, and namespace selectors to detect insecure settings that could lead to cluster bypass or denial of service.

What security risks should I check for in Kubernetes admission control configurations?

Security risks in Kubernetes admission control configurations include insecure failure policies, excessive webhook timeouts, broad scope exemptions, and mutating webhooks that might introduce sidecar injection vulnerabilities or overwrite security baselines.

How do I prevent privilege escalation through Kubernetes mutating webhooks?

Prevent privilege escalation through Kubernetes mutating webhooks by evaluating mutation logic and ordering to ensure they do not introduce sidecar injection vulnerabilities or overwrite established security baselines within the API server environment.

Can I use CEL policy configurations to prevent accidental security exemptions in Kubernetes?

Yes, validating CEL policy configurations and namespace selectors within Kubernetes admission control prevents accidental security exemptions and ensures continuous cluster integrity and compliance.

Does this audit enforce best practices for TLS and network isolation in Kubernetes admission control?

Yes, auditing Kubernetes admission control enforces best practices for TLS configuration and network isolation to protect the API server environment from unauthorized access and ensure cluster availability.

What are the limitations of auditing Kubernetes admission controllers for misconfigurations?

Auditing Kubernetes admission controllers targets webhooks and admission policies, meaning it cannot detect runtime threats or vulnerabilities unrelated to API server admission control configurations, scope exemptions, and mutation logic.