From container-posture
Audits Dockerfiles and Kubernetes manifests for security misconfigurations. Use when reviewing container images, pod specs, RBAC policies, or Kubernetes deployment files for vulnerabilities like privileged containers, exposed secrets, missing security contexts, and insecure RBAC.
How this skill is triggered — by the user, by Claude, or both
Slash command
/container-posture:container-postureThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Systematically audit Dockerfiles and Kubernetes manifests for security misconfigurations that create exploitable attack surface in production.
Systematically audit Dockerfiles and Kubernetes manifests for security misconfigurations that create exploitable attack surface in production.
Dockerfile or docker-compose.yml before building an imageDeployment, Pod, ServiceAccount, ClusterRoleBinding)kubectl directly instead)# Dockerfiles
find . -name "Dockerfile*" -not -path "*/node_modules/*" -not -path "*/.git/*"
# Kubernetes manifests
find . -name "*.yaml" -o -name "*.yml" | xargs grep -l "kind:" 2>/dev/null
# Helm charts
find . -name "Chart.yaml"
# Docker Compose
find . -name "docker-compose*.yml" -o -name "docker-compose*.yaml"
For each file found, determine its type and route to the appropriate checklist below.
Route based on file type:
Dockerfile* → Dockerfile Checklistkind: Pod / Deployment / DaemonSet / StatefulSet → Pod Security Checklistkind: ClusterRole / Role / ClusterRoleBinding / RoleBinding → RBAC ChecklistFor every candidate finding:
test/, example/, .sample) → SkipUse this format for every finding:
Finding: <short title>
Severity: CRITICAL | HIGH | MEDIUM | LOW
File: <path>:<line>
Issue: <what is wrong>
Risk: <what an attacker can do>
Fix: <concrete remediation>
| Severity | Examples |
|---|---|
| CRITICAL | privileged: true, root container with hostPath write, secrets in ENV, cluster-admin wildcard binding |
| HIGH | Missing runAsNonRoot, hostPID/hostNetwork: true, no resource limits on public-facing pods |
| MEDIUM | latest image tag, missing readOnlyRootFilesystem, image not pinned by digest |
| LOW | Missing allowPrivilegeEscalation: false, no liveness/readiness probe, verbose logging in prod |
Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub joshuajebaraj/container-posture --plugin container-posture