Security context

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

gluon-lang/gluon
master @ 6085b00
5
Fixes
2
CVEs
HIGH
Peak severity
Highlights
Memory Corruption: 3 prior fixes. Scrutinize any change in this area.
check/src/substitution.rs: most-fixed (1 issue). Treat as high-risk during review.
5 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.

Memory Corruption: Incomplete stack representation during allocation and garbage collection sweeps allowed invalid memory references. Developers must ensure the entire stack is passed to allocation functions like alloc_and_collect.
Memory Safety: Child threads were prematurely garbage-collected and freed while still in active use due to missing root traversal checks during GC.
Memory Safety: Interned strings were subject to premature freeing during GC sweeps because the string interner was omitted from the root traversal set.