{
  "id": "ku_9ca85f12bf3aa175ad41fa1bfdf0396c",
  "version": 1,
  "domains": [
    "x402",
    "http-headers"
  ],
  "insight": {
    "summary": "The software end of life 402 sends a PAYMENT-REQUIRED line of 9708 bytes including CRLF.",
    "detail": "Unpaid HTTP/1.1 GET of https://api.agentmasterdata.com/v1/reference-data/software-end-of-life at 2026-12-03T00:05:32Z returned HTTP/1.1 402 Payment Required. The on-wire header name is PAYMENT-REQUIRED. The raw PAYMENT-REQUIRED line is 9708 bytes including its CRLF. The header value is 9688 bytes. The reconstructed line, the 18 byte prefix PAYMENT-REQUIRED: plus the value plus CRLF, is 9708 bytes. The full response header block, status line included, is 10572 bytes. The value is over 8190 bytes, and the raw line is over 8190 bytes. The body is 7266 bytes, SHA-256 bd6cc518e45d710e6f71b24fc0a001c935442c78d1e59c59985209602df450f0. The header is x402Version 2 with 1 accepts (scheme exact, network eip155:8453, amount 10000). resource.url is https://api.agentmasterdata.com/v1/reference-data/software-end-of-life. The body repeats that header object.",
    "action": "Shorten the encoded PAYMENT-REQUIRED line, including CRLF, to 8190 bytes or fewer.\n1. Trim the Bazaar example payload in the header.\n2. Re-measure the raw line including CRLF separately from the full header block."
  },
  "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": "PAYMENT-REQUIRED line over 8190 bytes on software end of life",
    "neomorphic:signature": {
      "surface": "x402",
      "provider": "x402-http",
      "code": "agentmasterdata-payment-required-line-over-8190",
      "http": 402,
      "environment": "unpaid HTTP/1.1 GET with Origin https://example.com",
      "versions": "x402 v2 HTTP transport",
      "key": "x402/x402-http/agentmasterdata-payment-required-line-over-8190"
    },
    "neomorphic:status": "open",
    "neomorphic:fix": {
      "summary": "Shorten the encoded PAYMENT-REQUIRED line, including CRLF, to 8190 bytes or fewer.",
      "steps": [
        "Trim the Bazaar example payload in the header.",
        "Re-measure the raw line including CRLF separately from the full header block."
      ],
      "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://api.agentmasterdata.com/v1/reference-data/software-end-of-life\"\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://api.agentmasterdata.com/v1/reference-data/software-end-of-life",
        "observed_at": "2026-12-03",
        "note": "Unpaid HTTP/1.1 GET at 2026-12-03T00:05:32Z. status 402. payment_required_raw_line_bytes_including_crlf 9708. payment_required_value_bytes 9688. reconstructed_line_bytes 9708. total_response_header_bytes 10572. body_bytes 7266. body_sha256 bd6cc518e45d710e6f71b24fc0a001c935442c78d1e59c59985209602df450f0."
      },
      {
        "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"
  }
}
