Security context

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

boundaryml/baml
canary @ 8305061
44
Fixes
0
CVEs
HIGH
Peak severity
21.2%
Coverage
Highlights
Denial of Service: 31 prior fixes. Scrutinize any change in this area.
bex_heap: most-fixed (3 issues). Treat as high-risk during review.
21 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.

Denial of Service: Uncaught virtual machine panics, integer overflows, out-of-bounds field access, and lock-guarded concurrent mutation failures directly crash the host execution environment. Thread race conditions on stale VM field slots cause unrecoverable process-level aborts.
Memory Safety: Integration gaps with the garbage collector allow references to refer to stale or invalid object indices post-collection, leading to memory unsafety and use-after-free bugs. Asynchronous futures resolved without triggering a write barrier lead to untracked GC references.
Denial of Service: When embedded inside Python or Node.js runtimes, internal Rust panic execution strategies defaulting to 'abort' bypass language-level isolation and crash the parent interpreter process. Custom string operations also trigger panics on mid-codepoint byte indexing.