Highlights
Auth Bypass: 18 prior fixes. Scrutinize any change in this area.
packages/sanity/src/core/store/_legacy/authStore/createAuthStore.ts: most-fixed (4 issues). Treat as high-risk during review.
14 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: Multiple fixes in the auth store address token handling and login method enforcement; a bypass here undermines all downstream authorization.
Auth Bypass: Authorization checks in the studio boundary were missing the authenticated flag and mishandled missing roles arrays, allowing unauthorized access.
Auth Bypass: Multiple release-management UI actions (discard, archive, update, add document) lacked permission checks, enabling unauthorized operations.