KubeLinter
$ kube-linter Official Low RiskStackRox's kube-linter statically analyzes Kubernetes manifests and Helm charts for security misconfigurations and production reliability issues (missing resource limits, root containers, privilege escalation). Supports --format json, --format sarif, and custom .kube-linter.yaml policies.
brew install kube-linter kube-linter lint --format json provides instant local security/reliability checks over repo files with zero network or MCP overhead.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --format json, --format sarif, checks list --format json introspection, and non-zero exit codes when lint violations occur.
- Supports
--format jsonand--outputonlintandchecks list - Non-interactive static analyzer with deterministic exit codes
Strictly read-only offline static analyzer requiring zero credentials and making zero network or cluster changes.
- 100% offline read-only static analysis
Single static Go binary via Homebrew, go install, and GitHub releases across macOS, Linux, and Windows.
- Static Go binary via
brew install kube-linter
Complements schema validators like kubeconform by catching Pod security and operational best-practice gaps before deployment.
- Supports raw YAML, Kustomize directories, and Helm charts natively
Official StackRox / Red Hat ACS open-source project (stackrox/kube-linter) under Apache-2.0.
- Apache-2.0
stackrox/kube-linterrepository
Clear documentation at docs.kubelinter.io cataloging every check and configuration option.
- Published reference at docs.kubelinter.io
Security, Auth & Guardrails
No authentication required; operates 100% offline on local YAML manifests and Helm charts.
Apache-2.0 open-source CLI; 100% free offline analysis.
# KubeLinter Agent Rules - Run `kube-linter lint <path> --format json` after authoring or modifying Kubernetes deployments or Helm charts. - Fix high-severity security findings (non-root user, read-only rootfs, resource limits) rather than silencing checks blindly.
Agent-Ready Command Recipes
Safe Read-Only Queries
kube-linter lint ./k8s/ --format json
Evaluates built-in security and reliability checks and returns structured JSON findings.
kube-linter checks list --format json
Self-describes available check names and descriptions in JSON.
Strengths for Agents
- + Both
lintandchecks listsupport--format jsoncleanly. - + Purely offline, read-only static security and reliability scanner for YAML and Helm charts.
- + Fast static Go binary with zero runtime dependencies.
Caveats & Pitfalls
- ! Exits with non-zero status code when lint issues are found—agents should treat non-zero exit as findings to parse rather than a crash.
- ! Some default checks (e.g.
read-only-root-fs) may require repo-specific.kube-linter.yamltuning.