Highlights
Sandbox Escape: 1 prior fix. Scrutinize any change in this area.
demo/chat/backend_app/services/docker_executor.py: most-fixed (2 issues). 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.
Sandbox Escape: Running arbitrary user-provided Python scripts via subprocess on the host system allowed complete sandbox escape and host-level command execution. Containing execution within a dedicated sandbox is critical.
Sandboxing: Shared or inadequately isolated Docker execution environments and unsanitized session IDs could allow session cross-talk, state pollution, or container escape if the Docker daemon command parameters are manipulated.