Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
app/back-end: most-fixed (1 issue). 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.
SQL Injection: Database queries executed via 'this.db.prepare' previously accepted unparameterized, user-supplied input, posing a critical SQL injection risk during backend operations and HTML rendering. Developers must consistently use parameterized queries across all database contexts.
Path Traversal: Improperly validated directory segments and filenames allowed attackers to conduct directory traversal attacks, escaping intended scopes during plugin, theme, or language removal. Relying on a central path-validator is critical but requires rigorous testing.
Sandbox Escape: Arbitrary directory and file operations could be triggered from the renderer process via IPC channels using 'ipcMain.on'. IPC handlers must enforce strict validation to prevent sandbox escape vectors.