Highlights
Cross-Site Scripting (XSS): 1 prior fix. Scrutinize any change in this area.
assets/code_run_header.py: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Cross-Site Scripting (XSS): Insecure rendering of untrusted message content via Streamlit's markdown components allowed arbitrary HTML/JS execution in the user's browser. Developers must strictly enforce secure default configurations when displaying text from external sources.
Sandbox Escape: The sandboxed agent environment allowed command execution and GUI window spawning using standard OS APIs. Mitigation required monkey-patching process creation libraries to restrict execution flags and blocking desktop GUI shortcuts.
Reflected XSS: Allowing unsanitized markdown rendering in the root Streamlit application exposed users to reflective injection attacks via crafted inputs. Ensuring markdown components consistently disable unsafe HTML parsing is vital for defense-in-depth.