/k8s-security:k8s-rbac-reviewfrom k8s-security
Audits Kubernetes RBAC for least-privilege violations, privilege-escalation paths, and cluster-admin sprawl. Scans wildcard verbs, dangerous bindings, and service-account token exposure.
Ships in k8s-security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
An RBAC risk assessment: which subjects (users, groups, service accounts) hold excessive or dangerous permissions, and which paths lead to cluster-admin — with least-privilege fixes.
create/update on roles/clusterroles/
rolebindings/clusterrolebindings; escalate/bind verbs; impersonate.create pods (esp. with privileged/hostPath),
pods/exec, pods/attach, create on pods/ephemeralcontainers.get/list on secrets (cluster-wide is effectively
cluster-admin via token theft).verbs: ["*"], resources: ["*"], apiGroups: ["*"], and
cluster-admin bindings.kubectl auth can-i, rbac audit tools).security-diagramming:attack-tree).An RBAC findings table + an escalation-path diagram for the worst case. Confirmed
issues → security-reporting:finding (rate escalation-to-cluster-admin high+).
In Kubernetes, broad secrets read or pods/exec plus a privileged node is
effectively cluster-admin — treat those as escalation, not "just read access."
Recommend namespaced, least-privilege Roles and disabling unneeded SA token
auto-mount.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/k8s-cluster-reviewReview a Kubernetes cluster's security across control plane, RBAC, workload configuration, network policy, secrets, and admission control, mapped to the CIS Kubernetes Benchmark and the 4Cs model. Use for a comprehensive cluster security assessment of a cluster you're authorized to review./k8s-workload-hardeningReview and harden Kubernetes workloads (pods/Deployments) against Pod Security Standards — privileged containers, host namespaces, hostPath, capabilities, securityContext, and admission enforcement. Use to assess or fix pod-level security for a workload or namespace.npx claudepluginhub jassics/awesome-claude-security --plugin k8s-securityOther plugins' skills for the same job