Highlights
Auth Bypass: 13 prior fixes. Scrutinize any change in this area.
api/api.go: most-fixed (6 issues). Treat as high-risk during review.
28 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 address missing authentication/authorization on privileged operations (setup, app creation, unlock) and session/JWT secret weaknesses, indicating a systemic risk of unauthorized access.
Information Disclosure: Fixes prevent leaking sensitive data via raw error messages, setup file reads, and NIP-47 capability advertising, indicating a pattern of exposing internal details to unauthorized parties.
Cryptographic Issues / Key Management: Weak or reused cryptographic keys (JWT secret, xpub, mnemonic) and improper key derivation led to impersonation and data exposure, highlighting a need for robust key lifecycle management.