Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The skill explicitly says not to store secrets in the image, then immediately demonstrates passing a database password via ARG and promoting it to ENV, which bakes sensitive data into image metadata and potentially into build history. In a Docker guidance skill, this is especially dangerous because readers are likely to copy the pattern into production builds, causing credential leakage through registries, image inspection, and CI logs.
