Security context

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

QwenLM/qwen-code
main @ c7fa13d
173
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Path Traversal: 44 prior fixes. Scrutinize any change in this area.
CI/CD: most-fixed (5 issues). Treat as high-risk during review.
97 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.

Auth Bypass: Untrusted workspace configurations can override global settings to disable tool confirmation prompts or inject malicious MCP configurations by bypassing folder-trust checks.
Path Traversal: Local file reads and writes can escape designated workspace root directories when handling symbolic links or relative paths, exposing sensitive host configuration files.
Command Injection: Shell command validation can be bypassed by injecting newlines or chaining sub-commands with dangerous utilities (e.g., awk, sed), misleading approval checkers into executing write commands.