Highlights
Denial of Service: 8 prior fixes. Scrutinize any change in this area.
llms/openai: most-fixed (2 issues). Treat as high-risk during review.
5 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: Malformed or unexpected Server-Sent Events (SSE) lines in response streams could trigger a fatal logger call, completely crashing the host application instead of returning a manageable error.
Denial of Service: TokenBuffer context saving can enter an infinite loop when the token count stays above the maximum limit despite an empty ChatHistory, exhausting CPU resources.
Path Traversal: Unvalidated file paths provided to template engines can allow directory traversal, letting unauthorized users read local files on the system during prompt rendering.