Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
sweagent/agent/summarizer.py: most-fixed (1 issue). Treat as high-risk during review.
2 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.
Command Injection: Untrusted base_commit and URL values are interpolated into git subprocess commands; without shell quoting, an attacker can inject arbitrary commands.
Path Traversal: User-controlled command_file_name is used to construct a file write path; without sanitization, traversal can overwrite arbitrary files.