ekkoo-z/kubetrail/workload-controller-persistence
Claude Code and agent skill by ekkoo-z/kubetrail
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Analyze Kubernetes workload controllers and objects that can provide persistence or repeated execution.
Install
npx vskill@latest install ekkoo-z/kubetrail/workload-controller-persistenceSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Workload Controller Persistence
Use this skill when facts mention Deployments, DaemonSets, StatefulSets, ReplicaSets, Jobs, CronJobs, static pods, lifecycle hooks, sidecars, init containers, or controller-created workloads.
Scope boundary:
- Owns persistence through Kubernetes objects and workload lifecycle mechanics.
- Use
k8s-rbac-analysisto decide whether the current identity can create or modify these objects. - Use
pod-escape-surfaceto score the danger of the PodSpec those controllers run. - Use
observability-defense-evasionfor stealth/logging consequences.
High-value evidence:
- DaemonSet in
kube-systemor broad node coverage, suspicious names such as proxy-api, kube-controller, metrics, pause, system. - CronJob/Job with downloader, shell, miner, reverse shell, cleanup, or credential sweep behavior.
- Mutating webhook or operator injecting sidecars/init containers.
- Static pod manifests or mirror pods not governed by normal controllers.
- Owner references, restartPolicy, replica counts, tolerations, node selectors, host mounts, privileged flags.
Finding rules:
- Confirmed high: controller creates high-privilege pods, spans nodes, runs in system namespace, or has suspicious image/process evidence.
- Medium: ability to create/update controllers plus missing admission controls.
- Low: benign controller persistence potential without dangerous PodSpec or permissions.
- Unknown: controller list exists but pod template or permissions are missing.
Useful templates:
controller-persistence-reviewstatic-pod-node-persistence-review
Side-effecting templates (explicit authorization required):
workload-patch-sidecar-persistenceserviceaccount-rbac-persistencepod-create-jobpod-privilegedpod-hostpath
Output notes:
- Distinguish persistence potential from active malicious persistence.
- Include cleanup/rollback considerations for side-effecting validation.
- Flag conflicts with known real-world patterns: DaemonSet miners, kube-system impersonation, scheduled downloader jobs.
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/workload-controller-persistence/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/workload-controller-persistence)