Enterprise-grade audit tool for Kubernetes manifests. Validates YAML and Helm templates against security, reliability, and governance standards.
Download the latest binaries for Linux and macOS (amd64/arm64) from the Releases page.
go build -o kube-detox .Pipe your Helm templates into the binary:
helm template my-chart | ./kube-detox scan --policy rules/k8s/Scan a specific manifest directory:
./kube-detox scan --policy rules/k8s/security manifests/deployment.yamlCreate custom rules in rules/custom/<category>/ by copying an existing YAML rule. The auditor automatically discovers and applies all YAML files found under the --policy path.
rules:
- id: sec-001
name: "Disallow Privileged"
description: "Containers must not be privileged."
target: "Deployment"
field: "spec.template.spec.containers.0.securityContext.privileged"
expected: false
This project is licensed under the MIT License. See the LICENSE file for details.
This project is supported by CuteTarantula.
We are a UK-based software consultancy specializing in high-performance software engineering, infrastructure, and scalable systems. We design, build, and scale solutions across industries including Blockchain, AI, Fintech, AdTech and eCommerce. Whether you need expert guidance on Kubernetes, decentralized infrastructure, or complex software challenges, we’re here to help. Reach out to collaborate on systems that endure.