You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(security): validate postMessage origins and fix slack middleware path
Senders (typeform, slack, smartling, jira standalone): replaced wildcard
'*' with document.referrer-based origin so tokens are only sent to the
known opener page.
Receivers (typeform, slack, smartling, jira): added event.origin checks
so fake postMessage injections from other pages are rejected.
Slack lambda: changed 'api/tokens' to '/api/tokens' in the middleware
mount array — the missing leading slash meant path-to-regexp@0.1.x never
matched the route, silently bypassing request verification on POST /api/tokens.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments