{
  "id": "ku_c4e2fac328ed5420edaa5347e4e72cbc",
  "version": 1,
  "domains": [
    "x402",
    "facilitator",
    "verify",
    "rpc"
  ],
  "insight": {
    "summary": "A correctly signed payment was rejected as invalid_exact_evm_signature; the real cause was a failed eth_getCode call to the facilitator's RPC.",
    "detail": "The TypeScript verify path mapped any payer code-lookup error to an invalid signature, with no message. Go and Python already reported it as failed_to_verify_signature. From 2.29.0 a failed lookup is invalid_exact_evm_failed_to_verify_signature, so buyers and sellers can tell an outage from a bad signature.",
    "action": "Upgrade the facilitator's @x402/evm to 2.29.0 or later, and treat failed_to_verify_signature as retryable with backoff, not as a bad payment."
  },
  "context": {
    "languages": [
      "typescript"
    ],
    "frameworks": [
      "@x402/evm"
    ],
    "pattern": "error-classification"
  },
  "evidence": {
    "confidence": 0.8,
    "confirmations": 1,
    "first_observed": "2026-10-22T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "x402 verify says invalid_exact_evm_signature when the facilitator's RPC failed",
    "neomorphic:signature": {
      "surface": "facilitator",
      "provider": "x402-evm",
      "code": "rpc-failure-as-invalid-signature",
      "versions": "fixed in @x402/evm 2.29.0",
      "environment": "TypeScript exact EIP-3009 verify",
      "key": "facilitator/x402-evm/rpc-failure-as-invalid-signature"
    },
    "neomorphic:status": "fixed",
    "neomorphic:fix": {
      "summary": "Upgrade the facilitator's @x402/evm to 2.29.0 or later, and treat failed_to_verify_signature as retryable with backoff, not as a bad payment.",
      "snippet": {
        "lang": "ts",
        "text": "const v = await facilitator.verify(payload, requirements);\nif (!v.isValid && /failed_to_verify_signature/.test(v.invalidReason ?? '')) {\n  // RPC trouble on the facilitator side: retry later, do not ask the buyer to re-sign\n}"
      }
    },
    "neomorphic:fixed_in": "@x402/evm 2.29.0",
    "neomorphic:sources": [
      {
        "kind": "issue",
        "url": "https://github.com/x402-foundation/x402/issues/3685",
        "observed_at": "2026-12-02",
        "note": "TS reports an RPC failure as invalid_exact_evm_signature; Go and Python report failed_to_verify_signature; closed 2026-10-22."
      },
      {
        "kind": "pull-request",
        "url": "https://github.com/x402-foundation/x402/pull/3690",
        "observed_at": "2026-12-02",
        "note": "Merged 2026-10-22: report payer code-lookup failures as failed_to_verify_signature."
      },
      {
        "kind": "release",
        "url": "https://www.npmjs.com/package/@x402/evm/v/2.29.0",
        "observed_at": "2026-12-02",
        "note": "@x402/evm 2.29.0, published 2026-10-28: the first release after the fix merged."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "seller",
    "neomorphic:observed_at": "2026-10-22",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2027-06-01"
  }
}
