Security context

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

simonrob/email-oauth2-proxy
main @ 5682d75
22
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Denial of Service: 11 prior fixes. Scrutinize any change in this area.
emailproxy.py: most-fixed (18 issues). Treat as high-risk during review.
5 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 application failed to enforce password verification constraints and incorrectly parsed multiline authentication responses, allowing potential authentication bypass. It also previously skipped cryptographic decryption verification before renewing or discarding expired tokens.
Denial of Service: Uncaught socket-level exceptions, missing request timeouts, and unhandled decryption errors during the authentication loop regularly caused the proxy server to hang, crash, or loop indefinitely.
Injection: Insufficently validated IMAP command tags allowed injection payloads through control and space characters into compilation routines.