Highlights
Command Injection: 2 prior fixes. Scrutinize any change in this area.
autogen/coding/local_commandline_code_executor.py: most-fixed (2 issues). Treat as high-risk during review.
7 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.
Remote Code Execution: Instantiating arbitrary components like FunctionTool during routine schema validation executes untrusted Python code. Developers must skip actual instantiation and side-effects during structural validation.
Sandbox Escape: Executing user or LLM-generated code locally on the host environment can lead to total system compromise. Defaulting execution environments to isolated Docker containers is critical.
Path Traversal: Allowing code executors to write or read files outside the designated workspace using uncanonicalized paths enables attackers to overwrite system files or steal sensitive data.