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(cloud): close P3.3 auth-boundary review findings
- BLOCKER: an unauthenticated request (no Authorization) no longer gets the
shared companion token injected — the Worker only swaps in the shared token
for an authenticated caller (shared token or valid invite), so the companion
still gates /rpc (401) while /v1/health stays public.
- Strip any client-supplied X-Helmor-Member-Id at the very top of fetch()
(before proxyToSandbox) so the never-client-asserted invariant holds on every
path, including the SDK preview path — not just the derived proxy hop.
- acceptInvite: fail-closed on an unparseable expires_at, and reject re-accept
of an already-claimed invite with a different id (409) to block seat takeover.
Re-verified on real CF: no-auth->401, health->200, garbage->401, shared->200,
accepted-invite->200, re-accept-different-id->409.
0 commit comments