Dockerfile Hardening
Harden container images: pinned bases, multi-stage builds, non-root users, no baked secrets, plus an auditor script
Skillhawk's judgement
| Measure | Result |
|---|---|
| Grade | A (98/100) |
| Review findings | 1 (0 high, 0 medium, 1 low) |
| Security | Low-severity findings (0 high, 0 medium, 3 low) |
| Size | about 1324 tokens, paid on every load |
| Licence | MIT |
| Source | https://github.com/agentwik-labs/skillhawk |
Top review findings
- low
SKILL.md:13[vague-instruction] vague or hedging wording ("etc
Security findings
- low
scripts/audit_dockerfile.py:9[pipe-to-shell] downloads and runs remote code (in a comment, docstring or pattern) - low
scripts/audit_dockerfile.py:133[chmod-777] world-writable permissions - low
SKILL.md:28[chmod-777] world-writable permissions
Install
npx skillhawk install dockerfile-hardening --agent claude
Add -g to install for every project. Original source: agentwik-labs/skillhawk (MIT).