by folkrav · 3y ago · 0 comments
Edit: read the first half of my sentence again.
I think that's because the word "binary" has connotations that aren't strictly technically justified. There's no difference between running WASM and running JS (which is usually obfuscated anyway). Both are JITted into machine code, and it's important the JIT is implemented securely. (JIT compilers have been sources of exploits.) The only difference is complexity of the source language, where simpler languages are easier to secure. And WASM is orders of magnitude simpler than JS.
You can already do things like http://www.jsfuck.com/ and even more complex ones, but they would likely have bad performace.
With wasm you could do malware-level obfuscation with less drawbacks.