Yes, it&#x27;s supposed to be sandboxed. But<p><i>&quot;programs which invoke undefined behavior at the source language level may be compiled into WebAssembly programs which do anything else, including corrupting the contents of the application heap, calling APIs with arbitrary parameters, hanging, trapping, or consuming arbitrary amounts of resources (within the limits).&quot;</i> [1]<p>So now it&#x27;s possible to hammer on the entire JavaScript API with invalid parameters.  How long before someone finds a hole?<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;WebAssembly&#x2F;design&#x2F;issues&#x2F;205" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;WebAssembly&#x2F;design&#x2F;issues&#x2F;205</a>