Security context

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

deadwavewave/opencove
main @ 47775c9
15
Fixes
0
CVEs
HIGH
Peak severity
35.7%
Coverage
Highlights
Path Traversal: 6 prior fixes. Scrutinize any change in this area.
Boundary: most-fixed (1 issue). Treat as high-risk during review.
10 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: File operations such as copy, move, rename, and trash are vulnerable to directory traversal if target paths are not canonicalized and strictly validated against the approved workspace roots.
Path Traversal: Creating Git worktrees with unvalidated branch names or destinations allows arbitrary directory traversal, permitting write access outside the allocated workspace boundary.
Argument Injection: User-supplied prompts starting with hyphens can inject command-line flags when spawning background agent processes unless option parsing is strictly terminated using '--'.