Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
routes/payments.ts: most-fixed (4 issues). Treat as high-risk during review.
25 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.
Authentication Bypass: Multiple critical auth bypasses were fixed: admin password comparison failed open, and JWT was decoded without signature verification. These allow trivial unauthenticated access.
Authorization Bypass: Payment authorization bypasses include a race condition on single-use claims and a missing budget check on pay_keysend, enabling fund draining.
Path Traversal: Upload path traversal was fixed twice (hash-based filename, UUID-based filename), indicating recurring weakness in user-controlled filename handling.