Security context

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

lavabit/magma
develop @ d5d53c9
42
Fixes
22
CVEs
CRITICAL
Peak severity
27.0%
Coverage
Highlights
Auth Bypass: 9 prior fixes. Scrutinize any change in this area.
src/servers/smtp/smtp.c: most-fixed (4 issues). Treat as high-risk during review.
17 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: Uninitialized stack variables in credential creation and missing return value checks in credential calculation allowed attackers to bypass authentication checks.
Auth Bypass: STACIE verification tokens used static dummy rounds instead of database-defined seasoning configurations, weakening the authentication mechanism.
Memory Corruption: A critical pointer bug copied a pointer-to-pointer instead of the target payload buffer itself, causing memory corruption during operations on fields.