Security context

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

antoinezambelli/forge
main @ e4309d1
5
Fixes
12
CVEs
CRITICAL
Peak severity
20.0%
Coverage
Highlights
Denial of Service: 4 prior fixes. Scrutinize any change in this area.
docs/BACKEND_SETUP.md: most-fixed (1 issue). 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.

Auth Bypass: The authentication proxy layer previously suffered from a vulnerability where multiple or ambiguous credentials could be silently merged or shadowed. This allowed credential leakage to upstream backends and potential auth bypasses if single-credential rules were not strictly enforced during inbound resolution.
Denial of Service: Rigid request serialization locks without client disconnect detection can lead to GPU and compute exhaustion when handling abandoned requests. Implementing robust connection-aware queue mechanisms is critical to preventing resource-starvation DoS.
Denial of Service: Executing blocking operations synchronously (such as using subprocess.run during model unloads) blocks the main server event loop, causing severe service degradation and application-wide hangs.