PermitANY

Security · python · 21 copies

Container & Kubernetes Security Scanner

Security audit for Docker images and Kubernetes clusters. For Docker: scans image layers for CVEs via Trivy subprocess, detects secrets baked into image layers (AWS keys, private keys, passwords), identifies containers running as root or with privileged flags, and validates Dockerfile best practices. For Kubernetes: audits RBAC (ServiceAccounts with cluster-admin, wildcard verbs, Secrets access), PodSecurityContext misconfigurations, containers without resource limits, privileged pods, hostPath mounts to Docker socket, missing NetworkPolicies, and externally-exposed services including the Kubernetes Dashboard.

  • Linux
  • Windows
  • macOS
$pip install "docker>=6.1" "kubernetes>=28.1" "requests>=2.31" "colorama>=0.4.6"
terminal

Tags

dockerkubernetesk8scontainersrbaccvesecretspod-securitynetwork-policydevops-security