Security context

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

Keeper-Wallet/Keeper-Wallet-Extension
master @ 6ef57b3
9
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
src/controllers/PermissionsController.js: most-fixed (2 issues). Treat as high-risk during review.
8 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 permission logic flaws allowed origins to gain unauthorized access or escalate to ALL permissions, especially when whitelisted.
Auth Bypass: Background script permission checks (canApprove, hasPermission) were flawed, enabling unauthorized transaction signing or API access without proper account matching.
Auth Bypass / Spoofing: Referrer/origin values were not normalized to host-only, allowing spoofed origins in approval UI.