4 ms·
> I'm not sure why linking third party code is a concern, it all must live inside the sandbox provided by the runtime. Some runtime stuff implements operation
by ncmncm 8y ago
> I'm not sure why linking third party code is a concern, it all must live inside the sandbox provided by the runtime.
Some runtime stuff implements operations not expressible in JS, and not permitted in the sandbox. You may not want that code in the kernel. Anyway, if random kernel functions can be called from the sandbox, it would be easy to misuse them. Untrusted input might trick code into misusing them from in the sandbox, via nominally valid operations.
Does webasm protect against integer overflow, or unaccounted unsigned wraparound? Not all exploitable bugs are pointer violations.