{
  "id": "ku_da2bdc3c46f1fd27288ab9c2c45b783f",
  "version": 1,
  "domains": [
    "x402",
    "http-headers"
  ],
  "insight": {
    "summary": "The 402 body is a v2 PaymentRequired document and the PAYMENT-REQUIRED header is absent.",
    "detail": "Unpaid HTTP/1.1 GET of https://sigcheckbase.pythonanywhere.com/review at 2026-12-03T00:05:31Z returned HTTP/1.1 402 Payment Required. The response has no PAYMENT-REQUIRED header. The full response header block, status line included, is 228 bytes. The body is 1882 bytes, SHA-256 5bf56afe5587e6ee941fffae2856a491bb9a8b54124e0d2490220afa5fb5cd05. WWW-Authenticate is the 4 byte token x402. Access-Control-Allow-Origin is *. The body is x402Version 2 with 1 accepts (scheme exact, network eip155:8453, amount 50000). resource.url is https://sigcheckbase.pythonanywhere.com/review. A client that reads only the header sees no price.",
    "action": "Copy the v2 PaymentRequired document into the PAYMENT-REQUIRED header, and name that header in Access-Control-Expose-Headers.\n1. Base64-encode the same PaymentRequired object the body already returns.\n2. Send it as one PAYMENT-REQUIRED header line whose raw bytes, including CRLF, stay at or under 8190.\n3. Add PAYMENT-REQUIRED to Access-Control-Expose-Headers."
  },
  "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": "v2 challenge left in the body only",
    "neomorphic:signature": {
      "surface": "x402",
      "provider": "x402-http",
      "code": "sigcheckbase-body-only-v2-challenge",
      "http": 402,
      "environment": "unpaid HTTP/1.1 GET with Origin https://example.com",
      "versions": "x402 v2 HTTP transport",
      "key": "x402/x402-http/sigcheckbase-body-only-v2-challenge"
    },
    "neomorphic:status": "open",
    "neomorphic:fix": {
      "summary": "Copy the v2 PaymentRequired document into the PAYMENT-REQUIRED header, and name that header in Access-Control-Expose-Headers.",
      "steps": [
        "Base64-encode the same PaymentRequired object the body already returns.",
        "Send it as one PAYMENT-REQUIRED header line whose raw bytes, including CRLF, stay at or under 8190.",
        "Add PAYMENT-REQUIRED to Access-Control-Expose-Headers."
      ],
      "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://sigcheckbase.pythonanywhere.com/review\"\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://sigcheckbase.pythonanywhere.com/review",
        "observed_at": "2026-12-03",
        "note": "Unpaid HTTP/1.1 GET at 2026-12-03T00:05:31Z. status 402. payment_required_raw_line_bytes_including_crlf absent. payment_required_value_bytes 0. reconstructed_line_bytes None. total_response_header_bytes 228. body_bytes 1882. body_sha256 5bf56afe5587e6ee941fffae2856a491bb9a8b54124e0d2490220afa5fb5cd05."
      },
      {
        "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"
  }
}
