security_dockerfile_check
Dockerfile security & best-practice lint — Static security and best-practice check for a Dockerfile (dockerfile= URL-encoded text, or url= https link to a raw Dockerfile): root user, secrets baked into ENV/ARG, curl-pipe-to-shell, unpinned or latest base images, remote ADD without checksum, sudo, chmod 777, exposed SSH, apt/pip/npm/apk hygiene, shell-form CMD/ENTRYPOINT, missing HEALTHCHECK. Multi-stage aware. Returns findings with line numbers and fixes, score, A-F grade and verdict OK / REVIEW / FIX BEFORE SHIPPING / BLOCK. Offline, no image pull. Price: $0.003 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dockerfile": "<dockerfile>"
},
"name": "security_dockerfile_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dockerfile | Yes | FROM node:latest RUN curl -sL https://x.sh | bash CMD node server.js |