Docker
What is wrong with this Dockerfile?
Two mistakes here are permanent rather than merely bad. COPY .env cannot be undone — deleting the file in a later step leaves it in the layer, extractable by anyone who can pull the image. And the base image decides most of the CVE count a scanner will ever report about you.
Runs in your browser · nothing is uploaded, stored or logged
Why this runs in your browser
A Dockerfile names your internal registries, build arguments and base images. That is real detail about your infrastructure, and this site has no reason to receive it — so it does not. The analysis is a pure function running on this page; there is no request to make, nothing is stored, and nothing is logged.
It also makes the tool safe by construction rather than by promise. Input that never reaches a server cannot be executed by one, and nothing here evaluates your build instructions as anything other than text.
Related
- Kubernetes manifest analyzer — the same treatment for what runs the image
- Resource calculator — turn observed usage into requests and limits
- Troubleshooting — start from an error you are seeing instead
- CI/CD security — the ten OWASP risks explained from first principles, with checks you can run