Most container security incidents don't start with exotic kernel zero-days — they start with a copied Deployment YAML that still has allowPrivilegeEscalation left true by default, a Dockerfile running as root with :latest , or a debug hostNetwork: true flag forgotten before production.
Sending private internal Kubernetes manifests or Dockerfiles to random third-party SaaS scanners during pre-PR checks defeats the whole point of security hygiene. Instead, you can scan manifests 100% locally in your browser (zero server uploads) using the K8s & Docker Security Auditor .
Here are the 12 checks that catch the vast majority of real-world misconfigurations before they hit CI or your cluster.
Part 1: Kubernetes Pod & Container Spec Guardrails
runAsNonRoot: true missing or overridden: Without an explicit non-root securityContext , base images built with USER root run as UID 0 inside the container namespace.
allowPrivilegeEscalation: false omitted: Unless explicitly disabled, Linux setuid binaries inside a…