Highlights
Auth Bypass: 13 prior fixes. Scrutinize any change in this area.
packages/extension/src/background/accountMessaging.ts: most-fixed (2 issues). Treat as high-risk during review.
9 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: Asynchronous session checks (e.g., wallet.isSessionOpen) that are not properly awaited allow downstream code execution paths to read and interact with private keys or session states, effectively bypassing the extension lock mechanism.
Auth Bypass: Using broadcast-based message dispatching routines like sendToTabAndUi allows sensitive state information and raw internal events to cross boundaries into untrusted web page contexts, violating extension-to-web isolation.
Auth Bypass: Authorizations to dApps can be spoofed or unsafely broad if authorized states are associated globally rather than restricted to specific caller tabs, host origins, and target accounts.