Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
two_factor/views/core.py: most-fixed (3 issues). Treat as high-risk during review.
3 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: Attackers could intercept OTP codes dictated over Twilio voice calls via automated voicemail systems. Requiring user interaction before dictating ensures a real user is present.
Information Disclosure: Generating QR codes by calling the external Google Charts API leaks the raw TOTP secret to a third party. Moving to local QR generation is critical to protect secret keys.
Information Disclosure: Passing TOTP registration secrets in GET query parameters exposes them to server logs, browser histories, and referrer headers. Session-based storage prevents this exposure.