Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

polkadot-js/extension
master @ 987784c
9
Fixes
0
CVEs
HIGH
Peak severity
62.5%
Coverage
Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
packages/extension-base/src/background/handlers/State.ts: most-fixed (2 issues). Treat as high-risk during review.
3 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: The extension manages critical authorization policies based on requesting origins. Improper origin parsing allowed attackers to bypass authentication constraints between HTTP and HTTPS schemes.
Auth Bypass: Tab message handling lacked explicit authorization checks, permitting unauthorized origins to trigger sensitive extension API routines.
Auth Bypass: Mismatch between the transaction's expected signer and the derived public address of the active Ledger device allowed unauthorized signature operations.