tech-kubernetes

Audit Kubernetes cluster security by inspecting API server, RBAC, and pod contexts.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill tech-kubernetes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tech-kubernetes
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/tech-kubernetes
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill tech-kubernetes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the difficulty of performing comprehensive security assessments on Kubernetes clusters without risking accidental modification or service disruption.

Core Features & Use Cases

  • Configuration Auditing: Identifies misconfigurations like anonymous API access, insecure ports, and over-privileged service accounts.
  • Risk Assessment: Evaluates pod security contexts, network policies, and admission controller configurations against security best practices.
  • Use Case: A security engineer needs to verify that a production cluster is hardened against unauthorized access and that no pods are running with excessive privileges, all while ensuring zero impact on cluster availability.

Quick Start

Use the tech-kubernetes skill to perform a full security audit of the cluster at the provided API server URL.

Frequently Asked Questions about tech-kubernetes

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

FAQPage Schema
How do I perform a read-only security audit on a Kubernetes cluster?

Perform a read-only security audit on a Kubernetes cluster by inspecting API server configurations, RBAC permissions, and pod security contexts. This identifies misconfigurations like anonymous API access and over-privileged service accounts without modifying the cluster.

What is the best way to check Kubernetes RBAC permissions for compliance verification?

Check Kubernetes RBAC permissions for compliance verification by evaluating role bindings and service account privileges against security best practices. This non-destructive process identifies excessive privileges and ensures infrastructure hardening requirements are met.

Can I assess pod security contexts without impacting cluster availability?

Assess pod security contexts without impacting cluster availability using non-destructive, authenticated, and policy-gated security assessment workflows. This evaluates configurations against best practices while ensuring zero impact on production cluster operations.

Does this Kubernetes auditing process identify insecure API server ports?

This Kubernetes auditing process identifies insecure API server ports by inspecting API server configurations. It detects misconfigurations such as anonymous API access and insecure ports to verify cluster hardening against unauthorized access.

How do I identify over-privileged service accounts in my Kubernetes infrastructure?

Identify over-privileged service accounts in Kubernetes infrastructure by inspecting RBAC permissions and pod security contexts. This highlights excessive privileges and admission controller misconfigurations for vulnerability identification and infrastructure hardening.

What are the limitations of non-destructive Kubernetes cluster security assessments?

Non-destructive Kubernetes cluster security assessments are limited to read-only inspection of API server configurations, RBAC, and pod security contexts. They cannot remediate issues directly, requiring separate manual or automated actions to apply hardening fixes.