Highlights
Auth Bypass: 20 prior fixes. Scrutinize any change in this area.
packages/controllers/sign_in.go: most-fixed (6 issues). Treat as high-risk during review.
32 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 wallet sign-in process historically suffered from several critical signature verification bypasses, including unverified hex-to-binary key conversions, disabled ECDSA checks, and missing session-bound random challenge verification. Failure to implement strict challenge-response checks allows attackers to compromise session establishment.
Auth Bypass: Signature checks were bypassed by supplying formatted strings rather than raw, immutable byte slices. This type mismatch allowed attackers to manipulate the serialization of inputs passed to the signature verification engine.
SQL Injection: Dynamic database table and column names were interpolated directly into raw queries. Failing to escape these dynamic schema elements allows attackers to manipulate the structure of SQL queries.