2026-03-18 21:27:35
GitHub_M
PUBLISHED
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.35, SandboxJS timers have an execution-quota bypass. A global tick state (`currentTicks.current`) is shared between sandboxes. Timer string handlers are compiled at execution time using that global tick state rather than the scheduling sandboxs tick object. In multi-tenant / concurrent sandbox scenarios, another sandbox can overwrite `currentTicks.current` between scheduling and execution, causing the timer callback to run under a different sandboxs tick budget and bypass the original sandboxs execution quota/watchdog. Version 0.8.35 fixes this issue.