Free · Open source · MIT
Audit your Kubernetes cluster with Claude
A Claude skill that does what a senior platform engineer does in a hardening review: collect read-only evidence, decide which findings actually matter, and hand back a short fix plan with ready-to-apply YAML, each finding mapped to CIS, SOC 2 and ISO 27001.
Install in Claude Code
/plugin marketplace add k8s-security-pro/k8s-audit-skill
/plugin install k8s-security-audit@k8s-security-pro Needs kubectl and jq. Kubescape and Trivy are used if already installed. Source and manual install: github.com/k8s-security-pro/k8s-audit-skill
Then just ask
- > audit the security of my current cluster
- > review the Helm chart in ./charts/api for security issues before I merge
- > here is our kube-bench output, what should we fix first?
- > we have a SOC 2 audit next month, what will the auditor flag in this cluster?
Read-only
Only get / list style kubectl commands and scanners in report mode. It never applies, patches, deletes or execs, and never reads Secret values. It tells you which cluster it is about to read before it starts.
Triage, not a scanner dump
Findings are grouped by root cause and ranked by what an attacker actually gets: cluster takeover paths first, then lateral movement, then hardening gaps. Provider system components are listed separately from your workloads.
Fixes that fit your cluster
Each finding comes with YAML adapted to your namespaces and ServiceAccounts, plus a rollout note where the fix can break traffic or deploys.
Compliance references
CIS Kubernetes Benchmark, SOC 2 and ISO 27001:2022 references on every finding, for the conversation with your auditor.
Three ways in
A live cluster, manifests and Helm charts in a repo (pre-merge review), or kube-bench / Kubescape / Trivy output you already have.
Free and open source
MIT licensed. The skill is plain Markdown: SKILL.md and reference files with every kubectl + jq command it runs, so you can read all of it before you install.
What the report looks like
Summary by severity, a "fix first this week" list, then each finding with where it is, why it matters, CIS / SOC 2 / ISO references and the fix. You get it as Markdown and as a single-file HTML page that works offline and prints to PDF. The sample report shows the same structure on a fictional cluster.
On a test cluster seeded with 12 common mistakes (cluster-admin CI account, privileged agent with the node filesystem mounted, public Redis, wildcard Role, plain-text password in a Deployment, namespaces without NetworkPolicy and more), the skill found all 12 and kept the planted secret values out of the report.
FAQ
Does it send my cluster data anywhere?
The skill itself sends nothing. Claude reads the command output in your session like any other tool output. If Trivy is installed and you allow it, Trivy downloads its vulnerability database and pulls your images from their registries to scan them.
What access does it need?
A read-only identity is enough: the built-in view ClusterRole plus get/list on RBAC objects. No write permissions are used.
Does it work on EKS, GKE and AKS?
Yes. Managed control plane settings (audit logs, secrets encryption, API endpoint exposure) are not visible from kubectl, so the report lists the exact provider setting to verify instead of guessing.
Is the report enough for a SOC 2 or ISO 27001 audit?
It is a strong starting point and the references help, but it is an automated review, not a certification or a penetration test. For a human-reviewed audit with an evidence pack, see the audit service.
Want a human to review it?
Human-reviewed audit with an evidence pack for your auditor, delivered in 5 business days. Compliance firms and consultancies: available white-label, under your brand.
See the audit service