RCE
Supply Chain Attacks: A New Era
The Lavamoat sandboxing tool for JavaScript had two bypasses: one in Lavapack's source map comment removal allowed escaping the with() sandbox, and one in SnowJS allowed creating a non-sandboxed iframe via document.execCommand. An attacker who compromised an NPM dependency could execute arbitrary code and, in MetaMask, retrieve the encrypted keypair from extension storage.
Lavamoat