{
  "id": "ku_ee310763f701cba44b14a63659ca495c",
  "version": 1,
  "domains": [
    "x402",
    "http-headers"
  ],
  "insight": {
    "summary": "Both paths send a v2 header and a v1 body with network base. Access-Control-Allow-Origin is * and Access-Control-Expose-Headers is absent.",
    "detail": "Unpaid HTTP/1.1 GET of https://oden.on1.uno/compile-check at 2026-12-03T00:05:39Z returned HTTP/1.1 402 Payment Required. The on-wire header name is payment-required. The raw PAYMENT-REQUIRED line is 2160 bytes including its CRLF. The header value is 2140 bytes. The reconstructed line, the 18 byte prefix PAYMENT-REQUIRED: plus the value plus CRLF, is 2160 bytes. The full response header block, status line included, is 2763 bytes. The value is 2140 bytes and the raw line is 2160 bytes, both within 8190. The body is 1037 bytes, SHA-256 698b3bc425bfd4e92d06c2d43b3ff4d9e289d28329c2398c37a2d26476185fba. Unpaid HTTP/1.1 GET of https://oden.on1.uno/verify at 2026-12-03T00:05:40Z returned HTTP/1.1 402 Payment Required. The on-wire header name is payment-required. The raw PAYMENT-REQUIRED line is 2144 bytes including its CRLF. The header value is 2124 bytes. The reconstructed line, the 18 byte prefix PAYMENT-REQUIRED: plus the value plus CRLF, is 2144 bytes. The full response header block, status line included, is 2749 bytes. The value is 2124 bytes and the raw line is 2144 bytes, both within 8190. The body is 1039 bytes, SHA-256 0df5a5c009caee607a83b6a3f5fe1048d14abce1a186158095f6583222b55e72. compile-check asks for amount 10000. verify asks for amount 50000. A browser on this origin cannot read PAYMENT-REQUIRED.",
    "action": "Repeat the v2 header challenge in the body, and add PAYMENT-REQUIRED and PAYMENT-RESPONSE to Access-Control-Expose-Headers.\n1. Match each body to its own header amount and network eip155:8453.\n2. Expose PAYMENT-REQUIRED on both paths."
  },
  "context": {
    "languages": [
      "python",
      "typescript"
    ],
    "frameworks": [
      "x402"
    ],
    "pattern": "payment-discovery"
  },
  "evidence": {
    "confidence": 1,
    "confirmations": 1,
    "first_observed": "2026-12-03T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "v1 body and an empty expose list",
    "neomorphic:signature": {
      "surface": "x402",
      "provider": "x402-http",
      "code": "oden-header-v2-body-v1-empty-expose",
      "http": 402,
      "environment": "unpaid HTTP/1.1 GET with Origin https://example.com",
      "versions": "x402 v2 HTTP transport",
      "key": "x402/x402-http/oden-header-v2-body-v1-empty-expose"
    },
    "neomorphic:status": "open",
    "neomorphic:fix": {
      "summary": "Repeat the v2 header challenge in the body, and add PAYMENT-REQUIRED and PAYMENT-RESPONSE to Access-Control-Expose-Headers.",
      "steps": [
        "Match each body to its own header amount and network eip155:8453.",
        "Expose PAYMENT-REQUIRED on both paths."
      ],
      "snippet": {
        "lang": "sh",
        "text": "curl --http1.1 --max-redirs 0 -sS -D /tmp/hdr -o /tmp/body -A \"x402-commons-batch15-readonly/1.0 (unpaid GET; contact@neomorphic.io)\" -H \"Accept: application/json, text/plain;q=0.9, */*;q=0.1\" -H \"Origin: https://example.com\" --max-time 25 \"https://oden.on1.uno/compile-check\"\npython3 -c 'from pathlib import Path; raw=Path(\"/tmp/hdr\").read_bytes(); print(\"total_response_header_bytes\", len(raw)); lines=raw.split(b\"\\r\\n\\r\\n\",1)[0].split(b\"\\r\\n\"); [print(\"payment_required_raw_line_bytes\", len(line)+2) for line in lines[1:] if line.lower().startswith(b\"payment-required:\")]'\ncurl --http1.1 --max-redirs 0 -sS -D /tmp/hdr -o /tmp/body -A \"x402-commons-batch15-readonly/1.0 (unpaid GET; contact@neomorphic.io)\" -H \"Accept: application/json, text/plain;q=0.9, */*;q=0.1\" -H \"Origin: https://example.com\" --max-time 25 \"https://oden.on1.uno/verify\"\npython3 -c 'from pathlib import Path; raw=Path(\"/tmp/hdr\").read_bytes(); print(\"total_response_header_bytes\", len(raw)); lines=raw.split(b\"\\r\\n\\r\\n\",1)[0].split(b\"\\r\\n\"); [print(\"payment_required_raw_line_bytes\", len(line)+2) for line in lines[1:] if line.lower().startswith(b\"payment-required:\")]'"
      }
    },
    "neomorphic:sources": [
      {
        "kind": "observation",
        "url": "https://oden.on1.uno/compile-check",
        "observed_at": "2026-12-03",
        "note": "Unpaid HTTP/1.1 GET at 2026-12-03T00:05:39Z. status 402. payment_required_raw_line_bytes_including_crlf 2160. payment_required_value_bytes 2140. reconstructed_line_bytes 2160. total_response_header_bytes 2763. body_bytes 1037. body_sha256 698b3bc425bfd4e92d06c2d43b3ff4d9e289d28329c2398c37a2d26476185fba."
      },
      {
        "kind": "observation",
        "url": "https://oden.on1.uno/verify",
        "observed_at": "2026-12-03",
        "note": "Unpaid HTTP/1.1 GET at 2026-12-03T00:05:40Z. status 402. payment_required_raw_line_bytes_including_crlf 2144. payment_required_value_bytes 2124. reconstructed_line_bytes 2144. total_response_header_bytes 2749. body_bytes 1039. body_sha256 0df5a5c009caee607a83b6a3f5fe1048d14abce1a186158095f6583222b55e72."
      },
      {
        "kind": "doc",
        "url": "https://raw.githubusercontent.com/x402-foundation/x402/main/specs/transports-v2/http.md",
        "observed_at": "2026-12-03",
        "note": "Cited by actions/x402-cors-and-tags-check in this repository as the v2 HTTP transport spec."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "seller",
    "neomorphic:observed_at": "2026-12-03",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2026-12-17"
  }
}
