Audit one Dockerfile for what its layers will cost and what its build records
Audit one Dockerfile for what its layers will cost and what its build records. Line continuations are joined first, which is what makes the layer questions answerable at all. Reports a package index updated in a layer of its own, so a later install uses a cached index months stale; a dependency install after a copy of the whole context, so that layer rebuilds on every source change; a download piped into a shell; and a credential-shaped build variable, recorded in the image history.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.zfinia.com/x402/v1/dockerfile-layer-audit
| Category | Image and media |
|---|---|
| Provider host | api.zfinia.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-04 | valid payment request | 402 | $0.14 | 2486 ms |
Example input (from the provider)
{
"body": {
"dockerfile": "FROM node:20\nARG NPM_TOKEN=abc123\nRUN apt-get update\nRUN apt-get install -y curl git\nRUN curl -fsSL https://example.test/install.sh | sh\nWORKDIR /app\nCOPY . .\nRUN npm ci\nEXPOSE 8080\nCMD [\"node\", \"server.js\"]\n"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"dockerfile": {
"maxLength": 131072,
"type": "string"
},
"require_non_root_user": {
"type": "boolean"
}
},
"required": [
"dockerfile"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}