Highlights
SSRF: 5 prior fixes. Scrutinize any change in this area.
daemon/src/routes/backup.ts: most-fixed (5 issues). Treat as high-risk during review.
11 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.
SSRF: Most frequently patched class; multiple distinct fetch paths (page fetcher, import parser, YouTube track fetch, server-level blocklist) each needed separate guards, indicating inconsistent enforcement across entry points.
Path Traversal: Three separate fixes in the backup route address traversal via S3 key, custom destination path, and restore name, showing layered but incomplete validation across different backup operations.
SQL Injection: VACUUM INTO with user-controlled destination_path allowed SQL injection via single quotes; validation added in two components, indicating the sink is reachable from multiple configuration paths.