Security context

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

codexu/note-gen
dev @ ccab515
2
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
src-tauri/src/showfile.rs: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Command Injection: Custom system command execution logic utilizing shell commands (like explorer, xdg-open, dbus-send, and open) allowed arbitrary command injection. This was resolved by abandoning manual process spawning in favor of the official tauri-plugin-shell.
Path Traversal: Unsafe string interpolation for folder navigation on Windows permitted directory traversal. The fix implemented canonicalization and prefix validation using Tauri's secure path handling utilities.