Security context

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

lemonade-sdk/lemonade
main @ ee64a4a
19
Fixes
1
CVEs
HIGH
Peak severity
21.4%
Coverage
Highlights
Path Traversal: 6 prior fixes. Scrutinize any change in this area.
src/cpp/server/model_manager.cpp: most-fixed (2 issues). Treat as high-risk during review.
8 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: Local model path resolution and asset downloads repeatedly lacked strict path canonicalization and verification within dedicated model directories, permitting attackers to break sandbox boundaries.
Remote Code Execution: Lack of URL scheme validation in markdown rendering allowed malicious links to trigger arbitrary protocol handlers via openExternal window bindings.
Reflected XSS: Unsanitized rendering of source attributes for media elements allowed attackers to inject javascript: URLs or other payloads into user sessions.