dockerfile-validator
Pass
Audited by Gen Agent Trust Hub on Mar 5, 2026
Risk Level: SAFE
Full Analysis
- [EXTERNAL_DOWNLOADS]: The validation script
scripts/dockerfile-validate.shidentifies missing dependencies and automatically installshadolint-binandcheckovfrom PyPI. These are well-known, reputable tools used for the skill's primary purpose of security auditing. - [COMMAND_EXECUTION]: The script executes shell commands and subprocesses to run the linters and perform custom pattern matching (via
grepandawk) on Dockerfiles. It implements a robust cleanup mechanism using bash traps to ensure all temporary virtual environments and files are deleted on exit. - [REMOTE_CODE_EXECUTION]: The documentation references official installation methods from GitHub for
hadolint. While it contains an example of piping a remote script to bash in thereferences/docker_best_practices.mdfile, this is provided as a structural example of command chaining rather than an active automated process. - [DATA_EXFILTRATION]: No evidence of unauthorized data access or external transmission was found. The script includes logic specifically designed to detect and flag hardcoded secrets in user-provided Dockerfiles.
Audit Metadata