From k8s-security
Audit Kubernetes RBAC for least privilege and privilege-escalation paths — cluster-admin sprawl, wildcard/dangerous verbs, risky bindings, and service-account token exposure. Use to review who can do what in a cluster and find escalation to cluster-admin.
How this skill is triggered — by the user, by Claude, or both
Slash command
/k8s-security:k8s-rbac-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
An RBAC risk assessment: which subjects (users, groups, service accounts) hold
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.
npx claudepluginhub jassics/awesome-claude-security --plugin k8s-securityProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.