logoalt Hacker News

jasonjayrtoday at 5:27 PM4 repliesview on HN

So attackers don't have to craft specially corrupted files? They can just include the code to perform the attack in the data file itself?


Replies

weinzierltoday at 5:42 PM

WASM has strong tried and proven sandboxing. We basically can build on nearly 30 years of experience. The decoders don't need a lot of access, they can basically be pure functions.

If this will pan out security-wise I don't know. I'm more worried that it will be so slow that no one will use it. Interesting idea, though, and I can see applications outside of the "big data" realm this apparently targets.

show 4 replies
arcfourtoday at 5:32 PM

Yes...my first thought. No way in hell anyone actually trusts this.

(And as if we didn't trust the compiler enough already!)

show 1 reply
nine_ktoday at 5:37 PM

Does WASM have built-in I/O? If not, all that a decoder would be able to do is to decode into a buffer.

show 1 reply
doctorpanglosstoday at 5:36 PM

But the WASM runs in the sandbox! It only has access to some files, your display, inputs, ... nothing insecure at all!

show 1 reply