Skip to main content

dockerfile-optimizer

Optimizes Dockerfiles for smaller images and faster builds using best practices and multi-stage builds for enhanced security.

Install this skill

or
71/100

Security score

The dockerfile-optimizer skill was audited on Feb 9, 2026 and we found 13 security issues across 4 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 495

Template literal with variable interpolation in command context

SourceSKILL.md
495```yaml
medium line 420

Curl to non-GitHub URL

SourceSKILL.md
420CMD curl -f http://localhost:3000/health || exit 1
medium line 154

Wget to non-GitHub URL

SourceSKILL.md
154CMD wget --no-verbose --tries=1 --spider http://localhost:3000/api/health || exit 1
medium line 436

Wget to non-GitHub URL

SourceSKILL.md
436CMD wget --no-verbose --tries=1 --spider http://localhost:3000/health || exit 1
low line 297

Access to .env file

SourceSKILL.md
297.env*.local
low line 92

External URL reference

SourceSKILL.md
92CMD node -e "require('http').get('http://localhost:3000/health', (r) => process.exit(r.statusCode === 200 ? 0 : 1))"
low line 154

External URL reference

SourceSKILL.md
154CMD wget --no-verbose --tries=1 --spider http://localhost:3000/api/health || exit 1
low line 200

External URL reference

SourceSKILL.md
200CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"
low line 420

External URL reference

SourceSKILL.md
420CMD curl -f http://localhost:3000/health || exit 1
low line 428

External URL reference

SourceSKILL.md
428CMD node -e "require('http').get('http://localhost:3000/health', (r) => process.exit(r.statusCode === 200 ? 0 : 1))"
low line 432

External URL reference

SourceSKILL.md
432CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')" || exit 1
low line 436

External URL reference

SourceSKILL.md
436CMD wget --no-verbose --tries=1 --spider http://localhost:3000/health || exit 1
low line 485

External URL reference

SourceSKILL.md
485test: ["CMD", "wget", "--spider", "http://localhost:3000/health"]
Scanned on Feb 9, 2026
View Security Dashboard
Installation guide →