The answer is that new versions of Web APIs, such as the DOM, are not needed to make them usable from Wasm; the existing ...
GlassWorm spread via 14 VS Code extensions; Solana + Google Calendar C2; stole credentials, drained 49 wallets.
At its core, VS Code is built on an open source project called Code OSS, published under the permissive MIT license.