Dockerfile Scan

Scan a Dockerfile for insecure build patterns — running as root, unpinned or :latest base images, ADD from remote URLs, piping curl/wget into a shell, hardcoded secrets in ENV/ARG, world-writable chmod 777, and sudo usage. Use when the user asks to "review my Dockerfile", "is this container image secure", "lint my Dockerfile for security", or "why does my image run as root".

NovaCode37 Updated

File contents

NovaCode37/claude-security-skills commit ac4fd2ffca

Frequently asked questions

npx get-skill add novacode37/dockerfile-scan