cloud-k8s

Assess authorized cloud, container, and Kubernetes environments for misconfigurations and escape paths.

21|8|Updated Aug 3, 2026
One-click install
npx skills add https://github.com/chengzongcai/reverse-skill-backup --skill cloud-k8s-chengzongcai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cloud-k8s
Source: https://github.com/chengzongcai/reverse-skill-backup/tree/main/skills/cloud-k8s
Command: npx skills add https://github.com/chengzongcai/reverse-skill-backup --skill cloud-k8s-chengzongcai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Security testers often guess commands when auditing cloud accounts, containers, or Kubernetes clusters. This Skill provides a structured, repeatable workflow for authorized assessments, covering identity boundaries, cloud control planes, container escape paths, and cluster RBAC review. ## Core Features & Use Cases - Phased Assessment Workflow: Walks through identity and scope definition, cloud control plane checks (IMDS, public buckets, IAM roles), container hardening review (privileged mode, capabilities, host mounts), and Kubernetes auditing (RBAC, secrets, admission webhooks). - Toolchain Guidance: Maps tasks to tools such as kubectl, trivy, kube-bench, kubeaudit, pacu, scoutsuite, and nuclei, with notes on which require manual installation. - Use Case: During an authorized engagement, use it to enumerate a cluster with kubectl auth can-i --list, review clusterrolebindings, check for privileged pods with hostPath mounts, and document findings with reproduction steps. ## Quick Start Ask the agent to run an authorized Kubernetes security review of my cluster, starting with RBAC permissions and privileged container checks.

Frequently Asked Questions about cloud-k8s

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Kubernetes RBAC permissions during a pentest?▼

Start with kubectl auth can-i --list to enumerate the current service account's permissions, then review clusterrolebindings and secrets access. The workflow also checks service account token mounts and dangerous admission webhook gaps.

How to check for container escape paths in Docker or Kubernetes?▼

Review whether containers run privileged, use hostPath or hostNetwork, or hold dangerous capabilities like SYS_ADMIN. Writable host mounts and mounted docker.sock are common escape candidates, and image CVEs can be scanned with trivy.

What tools are used for cloud and Kubernetes security assessment?▼

The workflow references kubectl for cluster interaction, trivy for image and IaC scanning, kube-bench and kubeaudit for CIS and configuration checks, and pacu or scoutsuite for authorized cloud auditing. Most tools require manual installation.

Does this workflow require authorization before testing cloud environments?▼

Yes, written authorization is mandatory before any cloud or Kubernetes testing. The workflow enforces scope definition, restricts activity to authorized accounts and clusters, and prohibits destructive operations or scanning other tenants.

When should I use this instead of a general web pentest workflow?▼

Use it when the target involves cloud metadata services, IAM, containers, or Kubernetes clusters rather than standard web applications. General web scanning is routed to a separate pentest-tools workflow.