News for hackers. Stuff that matters.
Re:WebAssembly: Mozilla Won by Nokinside on Thursday June 01, 2017 @07:43AM (#14459460)
Same thing applies to NaCl verifier. Bugs in verifier can cause problems. Verification or generation bugs are bug, not security weaknesses in the architecture.

(I should not need to mention this but compiling is form of verification).

Re:WebAssembly: Mozilla Won by nickpsecurity on Thursday June 01, 2017 @10:43AM (#14460649)
"Same thing applies to NaCl verifier. Bugs in verifier can cause problems. "

Not like with the other, though. You can statically verify NaCl stuff because it was designed for that to be easy. If WebAssembly doesn't do that, then it's a step down from NaCl at least on this risk. That it matters should be obvious given all the research by the kind of CompSci people that invented NaCl on eliminating that risk from the TCB. It's part of a larger concept where you make the things generating the risky code untrusted with the trusted checkers so simple they can be mathematically verified. Here's an example from a top group on NaCl:

http://www.cse.psu.edu/~gxt29/paper/rocksalt.pdf

I'm not worried about this too much as it will probably be some brilliant student's personal project in near future if it's not being researched already. A quick Google shows the Github has the full, C semantics with compiler (KCC) and a Javascript semantics at least has a prototype from 2015 of WebAssembly.

https://github.com/kframework/wasm-semantics

Re:WebAssembly: Mozilla Won by fpoling on Thursday June 01, 2017 @08:02AM (#14459538)
NaCl verifier in practice is much simpler than WASM compiler leading to a significantly reduced attack surface.
Re:WebAssembly: Mozilla Won by Nokinside on Thursday June 01, 2017 @08:55AM (#14459817)
This is not true. NEXE has different security boundaries enforced differently on each supported platform. You need to write disassembler for each supported instruction set and verify them. This is more complex task than generating correct code from wasm.