GHSA-q3fm-4wcw-g57x: vm2 setup-sandbox.js violates Defense Invariant #11 in stack-trace formatter
defaultSandboxPrepareStackTrace in lib/setup-sandbox.js (lines 605, 607) appends to a fresh sandbox-realm lines = [] via lines[lines.length] = value. This is the exact invariant-violating pattern that GHSA-9qj6-qjgg-37qq (commit ca195f0, 2026-05-01) just patched in neutralizeArraySpeciesBatch and codified as Defense Invariant #11 (“Bridge-internal containers must not invoke sandbox code”). A sandbox-installed Array.prototype[N] setter fires during the bridge’s safe-default stack-trace formatting and observes / intercepts each appended line.
References
Code Behaviors & Features
Detect and mitigate GHSA-q3fm-4wcw-g57x with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →