create-dockerfile
Pass
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implements security best practices by providing templates that create and switch to non-root users (
appuserornonroot) for production containers, mitigating risks associated with container breakout. - [SAFE]: The recommended
.dockerignoreconfiguration explicitly excludes sensitive files such as.envand.gitdirectories, preventing accidental exposure of credentials or source control metadata in the final image. - [SAFE]: The skill utilizes official and well-known base images from established registries, and explicitly advises pinning specific versions rather than using the
latesttag to ensure build reproducibility and supply chain integrity. - [SAFE]: Validation steps include explicit checks for secrets baked into the image, reinforcing secure development habits.
- [SAFE]: Dependency management instructions (e.g.,
npm ci,pip install --no-cache-dir) follow industry standards for clean and efficient container builds.
Audit Metadata