Highlights
Auth Bypass: 33 prior fixes. Scrutinize any change in this area.
apps/api/src/asset-routes.ts: most-fixed (4 issues). Treat as high-risk during review.
42 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.
Auth Bypass: Development helper configurations dynamically trusted localhost origins in production setups, compromising OAuth callbacks, CSRF protections, and credentialed CORS checks across the main API.
Path Traversal: Insecure file writing, renaming, and removal operations lacked directory confinement, allowing malicious paths to escape target sandboxes and overwrite or delete arbitrary files on the local filesystem.
Reflected XSS: Using Svelte raw HTML injection constructs like {@html} to render parsed markdown outputs permitted unescaped script execution. High-severity CSP issues in Tauri configuration further allowed arbitrary script evaluation.