Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
wsproto/frame_protocol.py: most-fixed (4 issues). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Denial of Service: Unbounded message buffering during frame assembly could exhaust memory; fixed by emitting partial frames.
Cryptographic Weakness: Masking key generation used a weak PRNG, allowing prediction; replaced with os.urandom.
Auth Bypass: Handshake without Host header could bypass host-based security; now explicitly required.