kubernetes-security

Audit Kubernetes deployments for misconfigurations and insecure access vectors.

846|152|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill kubernetes-security-xalgord
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubernetes-security
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/cloud/kubernetes-security
Command: npx skills add https://github.com/xalgord/xalgorix --skill kubernetes-security-xalgord

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Kubernetes clusters often suffer from RBAC misconfigurations, unsecured kubelet endpoints, and exposed etcd data. This Skill provides structured testing steps to identify and remediate these security weaknesses.

Core Features & Use Cases

  • Kubelet API exposure checks: detect unauthenticated access to kubelet endpoints and recommend mitigations.
  • API Server & etcd access testing: identify permission gaps and risky token usage that could compromise cluster secrets.
  • RBAC and service account abuse assessment: evaluate token scopes, cluster roles, and least-privilege adherence to mitigate escalation risks.
  • Remediation guidance: provide practical steps to harden configurations and enforce security policies across environments.

Quick Start

Run Kubernetes security tests against your cluster to surface misconfigurations and weak tokens, then review remediation steps.

Frequently Asked Questions about kubernetes-security

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

FAQPage Schema
How do I audit Kubernetes clusters for RBAC misconfigurations and insecure access?

You can audit Kubernetes clusters by scanning kubelet endpoints, the API server, etcd, and RBAC configurations to identify misconfigurations, unauthenticated access vectors, and token abuse.

What is the best way to check kubelet API exposure and prevent unauthenticated access?

Checking kubelet API exposure involves scanning kubelet endpoints to detect unauthenticated access vectors, allowing you to identify security gaps and apply mitigations to secure the cluster.

Can I test API server and etcd access to identify risky token usage in Kubernetes?

Yes, you can test API server and etcd access to identify permission gaps and risky token usage that could compromise cluster secrets and expose sensitive deployment data.

How do I assess Kubernetes service account abuse and enforce least-privilege adherence?

Assessing service account abuse involves evaluating token scopes, cluster roles, and least-privilege adherence to mitigate escalation risks and remediate insecure access vectors.

Does Kubernetes security testing work for both on-premises and cloud clusters?

Kubernetes security testing applies to both on-premises and cloud clusters, requiring endpoint access to perform token checks, RBAC enumerations, and API queries against kubelet and etcd.

What steps are needed to remediate Kubernetes security weaknesses after an audit?

Remediation involves following practical steps to harden configurations and enforce security policies across environments, addressing the unsecured endpoints and RBAC gaps found during the audit.