docker-patterns
Pass
Audited by Gen Agent Trust Hub on Nov 7, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides Dockerization patterns that follow industry security standards, including the use of multi-stage builds to minimize the final image size and attack surface.
- [SAFE]: Implements non-root user execution (
nestjs,nextjs) in the production stages of the Dockerfiles, adhering to the principle of least privilege. - [SAFE]: Provides a comprehensive
.dockerignoreexample that explicitly prevents sensitive files (such as.env*,.git, and build artifacts) from being accidentally baked into the container image layers. - [SAFE]: Includes a 'Forbidden Patterns' section that explicitly educates the agent and user against insecure practices like hardcoding secrets, using the
latestimage tag, or running containers as root. - [SAFE]: The Nginx configuration provided correctly implements HTTP to HTTPS redirection and uses modern TLS protocols (v1.2, v1.3).
Audit Metadata