{
  "id": "ku_7ef479375d98c5b94fff179e516b8a96",
  "version": 1,
  "domains": [
    "mpp",
    "identity",
    "express",
    "host"
  ],
  "insight": {
    "summary": "Paid routes still work, but every request carrying signed identity headers (TAP, Web Bot Auth and similar) gets 421 Misdirected Request.",
    "detail": "From 0.21.4 the Node and Express adapters accept signed identity headers only with an explicit host allowlist or a fixed Node host, because the signature covers the host. Forwarded hosts are not trusted, and an empty list rejects all hosts.",
    "action": "List the exact public hosts, with ports, in allowedHosts, and enforce the same list at your ingress."
  },
  "context": {
    "languages": [
      "typescript"
    ],
    "frameworks": [
      "mppx"
    ],
    "pattern": "upgrade-break"
  },
  "evidence": {
    "confidence": 0.85,
    "confirmations": 1,
    "first_observed": "2026-11-23T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "mppx answers 421 to signed identity requests after upgrading: set allowedHosts",
    "neomorphic:signature": {
      "surface": "mpp",
      "provider": "mppx",
      "code": "identity-host-allowlist-required",
      "http": 421,
      "versions": "mppx 0.21.4 and later",
      "environment": "Node and Express adapters with identity extensions",
      "key": "mpp/mppx/identity-host-allowlist-required"
    },
    "neomorphic:status": "fixed",
    "neomorphic:fix": {
      "summary": "List the exact public hosts, with ports, in allowedHosts, and enforce the same list at your ingress.",
      "snippet": {
        "lang": "ts",
        "text": "import { Mppx, tempo } from 'mppx/express';\n\nconst mppx = Mppx.create({\n  methods: [tempo()],\n  allowedHosts: ['api.example.com'],   // exact hosts, include :port if not 443\n});"
      }
    },
    "neomorphic:fixed_in": "mppx 0.21.4",
    "neomorphic:sources": [
      {
        "kind": "release",
        "url": "https://github.com/wevm/mppx/releases/tag/mppx%400.21.4",
        "observed_at": "2026-12-02",
        "note": "mppx 0.21.4 changelog, 8b6b501: required an explicit host allowlist or fixed Node host before accepting signed identity headers; unconfigured adapters return 421."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "seller",
    "neomorphic:observed_at": "2026-11-23",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2027-06-01"
  }
}
