Security context

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

python-hyper/wsproto
main @ 5e0685d
6
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
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.