Security context

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

xintaofei/codeg
main @ e20eb79
26
Fixes
0
CVEs
HIGH
Peak severity
32.0%
Coverage
Highlights
Path Traversal: 7 prior fixes. Scrutinize any change in this area.
src-tauri/src/commands/acp.rs: most-fixed (3 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.

Path Traversal: Attackers can bypass workspace limits and write or delete arbitrary files by exploiting unsanitized symlinks and directory creation workflows. Staging locations must enforce path canonicalization and verification.
Command Injection: Untrusted user-supplied version strings and CLI arguments are interpolated directly into shell executions. Inadequate sanitization allows attackers to run arbitrary system payloads.
Auth Bypass: Improper handling of empty configuration tokens and weak API response validations allows unauthenticated actors to establish connections or access scoped proxy endpoints.