Security context

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

vava-nessa/free-coding-models
main @ 874842d
5
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
bin/free-coding-models.js: most-fixed (1 issue). 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.

Path Traversal: The static file serving implementation in the router daemon was vulnerable to path traversal, potentially exposing sensitive host files. Future updates to file-routing handlers must ensure rigorous path canonicalization and directory prefix verification.
Denial of Service: Unbounded request body reading allowed attackers to cause memory exhaustion and crash the proxy server. Strict payload size checks are required in all handlers processing incoming HTTP request bodies.
Auth Bypass: Using predictable or static API keys for local proxy management allowed unauthorized local processes to bypass authentication, requiring the transition to dynamically generated cryptographically random keys.