v4.67.0
Minor Changes
-
eead33b: Security hardening from a follow-up audit.
- Widget session credential moved out of the URL (BREAKING): the widget read endpoints (
GET /v1/widget/messages,GET /v1/widget/conversations,GET /v1/widget/voice/available) no longer accept the session credential in the query string.sessionId,sessionIds,verifiedExternalId, anduserHashmust now be sent as thex-munin-session-id,x-munin-session-ids,x-munin-verified-external-id, andx-munin-user-hashrequest headers. This keeps the session token — which grants read/write on a visitor's conversation — out of server, proxy, and CDN access logs. The bundled chat widget is updated; any custom integration that called these GET endpoints must move the fields from the query string to headers. - Widget origin allowlist is required by default (BREAKING): a widget channel with an empty
originAllowlistnow rejects all traffic, and creating one without an allowlist fails, unlessMUNIN_WIDGET_REQUIRE_ALLOWLISTis explicitly set to0/false. Previously the allowlist was only enforced when the flag was opted in. Existing widget channels without an allowlist stop accepting requests until their origins are configured (or the flag is disabled). This inverts the default to fail-closed. - OAuth
mcp:adminscope is gated by org role (BREAKING): OAuth access tokens (opaque and JWT) issued to users whose org membership role is notowneroradminno longer carry themcp:adminscope or the admin MCP audience — they resolve to the self-service surface. Previously any member who consented to anmcp:adminscope grant reached every admin MCP tool. Admin API keys (mn_admin_*) are unaffected. - Channel webhook endpoint hardened:
POST /v1/conversations/channels/:channelId/webhookis now rate-limited (per-IP, like the other public endpoints) and returns a uniform401for both unknown-channel and signature-verification failures to prevent channel-id enumeration. Note: an unknown channel now returns401instead of404.
- Widget session credential moved out of the URL (BREAKING): the widget read endpoints (
Published packages
@getmunin/analytics-tracker@4.67.0@getmunin/chat-widget@4.67.0@getmunin/agent-host@4.67.0@getmunin/agent-runtime@4.67.0@getmunin/backend-core@4.67.0@getmunin/core@4.67.0@getmunin/dashboard-pages@4.67.0@getmunin/db@4.67.0@getmunin/docs-pages@4.67.0@getmunin/emails@4.67.0@getmunin/inspector-app@4.67.0@getmunin/mcp-toolkit@4.67.0@getmunin/sdk@4.67.0@getmunin/types@4.67.0@getmunin/ui@4.67.0