News for hackers. Stuff that matters.
Re:How Shopify Uses WebAssembly Outside of the Browser by peteretep on Saturday December 19, 2020 @07:16AM (#25476961)
> you cannot express anything malicious in Wasm

This feels like a comment that will as age as badly as “you can’t get a virus just from looking at an email”

Re:How Shopify Uses WebAssembly Outside of the Browser by jedisct1 on Saturday December 19, 2020 @08:03AM (#25477160)
You can’t express anything malicious in JavaScript either, yet vulnerabilities are constantly found in web browsers, including WebAssembly JITs.

You can express malicious things in Go, yet the number of RCEs in Go apps is pretty much zero.

Re:How Shopify Uses WebAssembly Outside of the Browser by alquemist on Saturday December 19, 2020 @08:09AM (#25477186)
That's a bit of apples and oranges. JS/WASM are runtimes executing hostile code, whereas Go apps are trusted code.
Re:How Shopify Uses WebAssembly Outside of the Browser by amelius on Saturday December 19, 2020 @08:08AM (#25477184)
> You can’t express anything malicious in JavaScript either

You have to be more specific because lots of fraud is possible by misleading the user through JavaScript tricks.

Re:How Shopify Uses WebAssembly Outside of the Browser by CyberRabbi on Saturday December 19, 2020 @08:35AM (#25477296)
Re:How Shopify Uses WebAssembly Outside of the Browser by etimberg on Saturday December 19, 2020 @09:28AM (#25477583)
What about something like https://github.com/IAIK/rowhammerjs ?
Re:How Shopify Uses WebAssembly Outside of the Browser by bagels on Saturday December 19, 2020 @07:21AM (#25476990)
Sounds like the promises made about the jvm.
Re:How Shopify Uses WebAssembly Outside of the Browser by nih0 on Saturday December 19, 2020 @07:53AM (#25477108)
can u elaborate on these jvm promises?
Re:How Shopify Uses WebAssembly Outside of the Browser by officialchicken on Saturday December 19, 2020 @08:45AM (#25477351)
The "sandbox" promise was/is still offered as the primary line of defense for Java.

"The first version of Java was released by Sun Microsystems in 1995 [2]. One year later, researchers at Princeton University identified multiple flaws enabling an analyst to bypass the sandbox [3]. The authors identified weaknesses in the language, bytecode and object initialization, to name a few, some of them still present in Java at the time of writing."[0]

[0] https://www.exploit-db.com/papers/45517

[2] http://www.oracle.com/technetwork/java/javase/overview

[3] Drew Dean, Edward W. Felten, Dan S. Wallach. "Java security: From HotJava to Netscape and beyond." In Security & Privacy, IEEE, 1996

Re:How Shopify Uses WebAssembly Outside of the Browser by marcosdumay on Saturday December 19, 2020 @09:12AM (#25477484)
The Java sandbox trusted any code signed with a SSL certificate by design, what didn't stop Sun from announcing it was secure and everything.
Re:How Shopify Uses WebAssembly Outside of the Browser by mhh__ on Saturday December 19, 2020 @09:57AM (#25477747)
Depends - eBPF is statically verified pretty well, but spectre (and all its brothers) is a cruel mistress