Security context

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

haxefoundation/haxe
development @ f115202
13
Fixes
3
CVEs
HIGH
Peak severity
53.8%
Coverage
Highlights
Command Injection: 3 prior fixes. Scrutinize any change in this area.
genswf8.ml: most-fixed (2 issues). Treat as high-risk during review.
8 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: Process execution and standard library command running functions on target environments (like HashLink, C++, and PHP) historically failed to properly sanitize or quote arguments on Windows and Unix platforms, enabling arbitrary system shell command injection.
Insecure TLS Validation: Bypasses in transport security can occur via flawed certificate checks. This includes a crucial operator precedence bug in SAN parsing and a lack of native root store integration on Windows platforms in the mbedtls wrapper.
Sandbox Escape: Generation of compilation artifacts (like Flash/SWF) has suffered from sandbox escaping risks because of incorrect sandbox security tags and missing compile-time restrictions on forbidden target packages.