ekkoo-z/kubetrail/k8s-rbac-analysis
Claude Code and agent skill by ekkoo-z/kubetrail
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Analyze Kubernetes API authorization, RBAC grants, SSRR/SSAR output, and high-value API attack paths from KubeTrail results.
Install
npx vskill@latest install ekkoo-z/kubetrail/k8s-rbac-analysisSKILL.md
Kubernetes RBAC Analysis
Use this skill when the user asks about permissions, privilege escalation, current ServiceAccount capability, or Kubernetes API attack paths.
Scope boundary:
- Owns Kubernetes API authorization only: verbs, resources, scopes, subresources, and review results.
- Do not analyze whether a PodSpec is dangerous; use
pod-escape-surfaceoradmission-policy-governance. - Do not analyze material present in tokens/secrets; use
serviceaccount-secret-material. - Do not treat
nodes/proxyas read-only; it belongs here as an authorization finding and may also feedkubelet-runtime-etcd-bypass.
High-value permissions:
secretslist/get/watch in a namespace or cluster scope.pods/create,pods/exec,pods/attach,pods/portforward.pods/ephemeralcontainerspatch/update.deployments,daemonsets,statefulsets,jobs,cronjobscreate/update/patch.serviceaccounts/tokencreate.roles,rolebindings,clusterroles,clusterrolebindingscreate/update/patch/escalate/bind.impersonateon users, groups, serviceaccounts, or nodes.nodes/proxy,nodes/exec,nodes/log,nodes/stats,nodes/spec.- wildcard verbs or resources.
Finding rules:
- Confirmed allowed permission.
- Denied permission.
- Unknown because collection failed or the token lacked review permissions.
- Escalation path: a low-level permission chain that reaches a higher impact operation, such as create pod plus bypassed admission, bind plus privileged role, or impersonate plus target subject.
- Scope matters: namespace-scoped secret read is not cluster-wide secret read; rolebinding to
cluster-admininside one namespace is not the same as cluster-scopeClusterRoleBinding.
Prefer EXP template IDs:
secret-list-get-verifypods-exec-verifynodes-proxy-verifyimpersonate-verifyrbac-bind-escalate-verifyserviceaccount-token-api-verify
Side-effecting templates (explicit authorization required):
pod-create-jobephemeralcontainers-patchserviceaccount-rbac-persistencecsr-client-cert-persistence
Output format:
- Group by capability: credential access, workload execution, RBAC escalation, impersonation, node subresources, wildcard/admin.
- Cite SSRR/SSAR fact IDs for every allow/deny/unknown statement.
- For each risky allow, name the minimum next evidence needed before claiming practical exploitability.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingapps/agent/.claude/skills/k8s-rbac-analysis/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ekkoo-z/kubetrail/k8s-rbac-analysis)