Security context

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

postmanlabs/httpbin
master @ f8ec666
9
Fixes
2
CVEs
HIGH
Peak severity
83.3%
Coverage
Highlights
Denial of Service: 7 prior fixes. Scrutinize any change in this area.
httpbin/core.py: most-fixed (9 issues). Treat as high-risk during review.
2 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.

Denial of Service: Development servers running httpbin can hang indefinitely when processing chunked transfer encoding requests if the WSGI environment is not configured to handle them. A guard was required in the global pre-request handler to reject these payloads.
Denial of Service: The lack of boundary checks on numeric parameters in response-delaying endpoints like `/drip` leads to division-by-zero crashes or unconstrained delays that exhaust thread pools and server capacity.
Information Disclosure: Deploying the application with Flask's interactive debugger active allows remote attackers to obtain sensitive system variables or execute arbitrary code via the interactive console upon throwing an error.