ekkoo-z/kubetrail/operator-crd-controller-abuse

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 Operators, CRDs, and controllers whose high privileges can be indirectly abused through lower-privileged custom resources.

Install

npx vskill@latest install ekkoo-z/kubetrail/operator-crd-controller-abuse

SKILL.md

Operator CRD Controller Abuse

Use this skill when facts mention CRDs, custom resources, Operators, controllers, reconciliation, ownerReferences, cross-namespace references, controller ServiceAccounts, or generated workloads/secrets.

Scope boundary:

  • Owns indirect privilege through controllers and CRDs.
  • Use k8s-rbac-analysis for direct permissions on CRDs and controller ServiceAccounts.
  • Use workload-controller-persistence for objects created by controllers after the abuse path is established.
  • Use serviceaccount-secret-material for secrets exposed by controller behavior.

High-value evidence:

  • Controller ServiceAccount with cluster-admin or broad create/update/list/get on secrets, pods, deployments, webhooks, CRDs.
  • User identity can create/update custom resources watched by a high-privilege controller.
  • CRD fields referencing Secrets, ConfigMaps, service accounts, namespaces, image names, pod templates, backup/restore destinations, webhooks, or external URLs.
  • Cross-namespace references where a namespaced user can influence resources outside their namespace.
  • Status/events showing controller-created workloads, secrets, roles, or webhooks.

Finding rules:

  • Confirmed high: low-privileged subject can modify a CR that causes a high-privilege controller to create pods, read secrets, write roles, or cross namespaces.
  • Medium: high-privilege operator exists and tenant can modify related CRDs, but effect is unconfirmed.
  • Low: operator has broad RBAC but no user path to controlled CRDs.
  • Unknown: CRDs discovered but controller RBAC or allowed subject permissions missing.

Useful templates:

  • operator-crd-abuse-review
  • rbac-bind-escalate-verify
  • controller-persistence-review

Side-effecting templates (explicit authorization required):

  • workload-patch-sidecar-persistence
  • pull-secret-injection

Output notes:

  • Describe the actor-controller-target chain.
  • Avoid claiming the controller will execute a field unless evidence shows that field is consumed.
  • Ask for discovery/dynamic-client CRD facts and controller RBAC when missing.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ekkoo-z/kubetrail/operator-crd-controller-abuse/badge)](https://verified-skill.com/skills/ekkoo-z/kubetrail/operator-crd-controller-abuse)

Something wrong with this skill or its page? Tell us.