Security context

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

xtuc/webassemblyjs
master @ af8e766
4
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Sandbox Escape: 3 prior fixes. Scrutinize any change in this area.
src/interpreter/kernel/exec.js: most-fixed (2 issues). Treat as high-risk during review.
4 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: Failure to propagate trapped or exceptional execution states in child stack frames allowed the interpreter to continue executing invalid instructions, leading to host sandbox bypasses.
Sandbox Escape: Missing type validation during memory-load execution (e.g., handling u32 explicitly and throwing default RuntimeErrors) allowed the interpreter to execute memory operations on unhandled types.
Type Confusion: External subroutine return values pushed directly onto the internal stack without explicit type casting allowed execution state corruption.