Parses like BuildKit (escape directive, continuations, heredocs, stages) and flags a final image running as root, secrets in ARG or ENV, secret files baked in or copied across stages, COPY . before installs, no .dockerignore, apt-get hygiene, unchecked ADD URLs, curl | sh.