Dockerfile Layer Audit

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.

Mediaofflineeip155:8453Exactvia cdp
DockerBuild cachingContainer imagesRelease gateDeveloper tooling
Settlements · 30d
219↓ 44%
No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days.
$25.35
Verified settled volume
256 settlements proven x402 by their on-chain EIP-3009 marker.
$0.140
Listed price
As published in the catalog. Always read the live 402 before paying.
1
Calls · 30d
Upstream's own call count for this endpoint, not ours.
1
Unique payers · 30d
Last called 2026-10-04 08:27Z
—
Upstream on-chain volume
Reported by the source catalog.
Paid to
0x25e8245f07d5e4873987293dad666afbe56a9608

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.14USDC≈ $0.14 USD
on Base · exact scheme

Pay 0.14 USDC on Base to 0x25e8…a9608. The signed payment is good for 1 minute.

USD Coin contract
0x8335…02913
Payment window
1 minute
As published
140000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608",
    "amount": "140000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 60
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "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"
        },
        "type": "http",
        "method": "POST",
        "bodyType": "json"
      },
      "output": {
        "type": "json",
        "example": {
          "limits": {
            "maxFindings": 500,
            "maxYamlBytes": 262144,
            "maxDockerfileBytes": 131072,
            "maxDockerfileLines": 4000
          },
          "passed": false,
          "stages": [
            {
              "line": 1,
              "alias": null,
              "image": "node:20"
            }
          ],
          "complete": false,
          "findings": [
            {
              "code": "CREDENTIAL_SHAPED_BUILD_VARIABLE",
              "line": 2,
              "detail": "Line 2 sets NPM_TOKEN with a literal value. ARG values are recorded in the image history and readable by anyone who can pull the image. The value is not reported here."
            },
            {
              "code": "PACKAGE_INDEX_UPDATED_IN_ITS_OWN_LAYER",
              "line": 3,
              "detail": "Line 3 updates the package index without installing in the same instruction. A later install uses the cached index from this layer, which can be months old."
            },
            {
              "code": "INSTALL_WITHOUT_NO_INSTALL_RECOMMENDS",
              "line": 4,
              "detail": "Line 4 installs packages without --no-install-recommends, so recommended packages are pulled in as well."
            }
          ],
          "conformant": false,
          "final_user": null,
          "request_id": "example-request",
          "service_id": "dockerfile_layer_audit",
          "assumptions": [
            "Line continuations are joined before anything is judged, which is what makes \"updated the index and installed in one layer\" answerable at all. Reading line by line would report every multi-line RUN wr...",
            "Layer ordering findings are about cache behaviour: a dependency install after a copy of the whole context is rebuilt on every source change, which is a build cost rather than a defect.",
            "Findings about credentials name the variable and never its value."
          ],
          "limitations": [
            "The Dockerfile supplied, as a documented subset of instructions. What the base image contains, and what any downloaded script does, are outside this. Not a security assessment.",
            "conformant is true only when the file parsed, nothing was left unaudited, and every check that ran found nothing."
          ],
          "observed_at": "2026-10-02T00:00:00.000Z",
          "stage_count": 1,
          "not_examined": [
            "BASE_IMAGE_PINNED_BY_TAG: Line 1 pins node:20 by tag rather than digest. A tag is mutable; whether that matters is the caller's decision."
          ],
          "finding_count": 7,
          "service_version": "1.0.0",
          "findings_by_code": {
            "DOWNLOAD_PIPED_TO_SHELL": 1,
            "FINAL_STAGE_RUNS_AS_ROOT": 1,
            "PACKAGE_LISTS_NOT_REMOVED": 1,
            "CREDENTIAL_SHAPED_BUILD_VARIABLE": 1,
            "DEPENDENCY_INSTALL_AFTER_BROAD_COPY": 1,
            "INSTALL_WITHOUT_NO_INSTALL_RECOMMENDS": 1,
            "PACKAGE_INDEX_UPDATED_IN_ITS_OWN_LAYER": 1
          },
          "non_root_checked": true,
          "instruction_count": 10,
          "declares_healthcheck": false
        }
      }
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "properties": {
            "body": {
              "type": "object",
              "required": [
                "dockerfile"
              ],
              "properties": {
                "dockerfile": {
                  "type": "string",
                  "maxLength": 131072
                },
                "require_non_root_user": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false
            },
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "output": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "example": {
              "type": "object"
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-10-04 08:27Z
Last indexed by Roundhouse
2026-10-05 00:20Z
Last enriched (probe, favicon, geo)
2026-10-05 00:45Z
x402 version
2
Max timeout
60s
Liveness probe
HTTP 0
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service Dockerfile Layer Audit and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Dockerfile%20Layer%20Audit'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://api.zfinia.com/x402/v1/dockerfile-layer-audit, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at
GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at
https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.