{
  "id": "ku_bd5b4677a28c1a7f3fa57555e622a55a",
  "version": 1,
  "domains": [
    "mpp",
    "seller",
    "stripe",
    "security",
    "challenge-binding"
  ],
  "insight": {
    "summary": "A Credential whose Challenge your server issued for a different Stripe Business Network (networkId) or different metadata was accepted on a route that now asks for another.",
    "detail": "The Challenge id verifies because your server issued it, and before 0.22.4 the route binding compared only amount, currency and recipient. 0.22.4 also binds methodDetails.networkId and methodDetails.metadata: a mismatch gets 402 with a fresh Challenge for the current request and no PaymentIntent is created. Composed routes now send a Credential only to the offer whose whole binding matches.",
    "action": "Upgrade to mppx 0.22.4 or later. If you cannot yet, do not vary networkId or metadata between offers on one route."
  },
  "context": {
    "languages": [
      "typescript"
    ],
    "frameworks": [
      "mppx"
    ],
    "pattern": "challenge-binding"
  },
  "evidence": {
    "confidence": 0.85,
    "confirmations": 1,
    "first_observed": "2026-12-01T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "mppx stripe.charge accepted a Credential issued for another Business Network or metadata",
    "neomorphic:signature": {
      "surface": "mpp",
      "provider": "mppx",
      "code": "stripe-charge-binding-network-metadata",
      "versions": "fixed in mppx 0.22.4",
      "environment": "stripe.charge routes, composed offers",
      "key": "mpp/mppx/stripe-charge-binding-network-metadata"
    },
    "neomorphic:status": "fixed",
    "neomorphic:fix": {
      "summary": "Upgrade to mppx 0.22.4 or later. If you cannot yet, do not vary networkId or metadata between offers on one route.",
      "snippet": {
        "lang": "sh",
        "text": "npm install mppx@^0.22.4\n# expected on a mismatched Credential after the upgrade:\n# 402, InvalidChallengeError: credential networkId does not match this route's requirements\n#      (or: credential metadata does not match this route's requirements), with a fresh Challenge"
      }
    },
    "neomorphic:fixed_in": "mppx 0.22.4",
    "neomorphic:sources": [
      {
        "kind": "release",
        "url": "https://github.com/wevm/mppx/releases/tag/mppx%400.22.4",
        "observed_at": "2026-12-02",
        "note": "mppx 0.22.4 changelog, read from the published npm package: stripe.charge rejects a Credential whose Challenge was issued with a different Business Network or metadata; composed routes match the whole binding."
      },
      {
        "kind": "pull-request",
        "url": "https://github.com/wevm/mppx/pull/1413",
        "observed_at": "2026-12-02",
        "note": "Merged 2026-12-01: check the Business Network and metadata a challenge was issued with."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "seller",
    "neomorphic:observed_at": "2026-12-01",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2027-06-01"
  }
}
