Security context

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

gleecbtc/gleec-wallet
main @ 78b1d05
5
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
lib/bloc/auth_bloc/auth_bloc.dart: most-fixed (1 issue). Treat as high-risk during review.
0 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: Server-Sent Events (SSE) streaming connections persisted after user sign-out because the stream lifecycle was not bound to the active authentication state. Developers must ensure all background connection streams are terminated during de-authentication.
Information Disclosure: The built-in automated feedback tool could inadvertently capture screenshots containing sensitive UI elements like passwords, seeds, and private keys. Sensitive views must explicitly utilize screenshot sensitivity overlays.
Auth Bypass: A static default password ('hidden-login') was used to initialize hidden Trezor wallets. This must be replaced with a cryptographically secure random password to prevent unauthorized local wallet access.