3

I've recently found out about this new technology, which recently became a World Wide Web Consortium recommendation and also that now almost all main browsers support it and it is enabled by default, see e.g. this.

I was not able to find in e.g. Firefox about:config to disable it:

Firefox options for "wasm".

Unlike JS:

Firefox options for "javascript".

As noted on Wikipedia, the technology poses maybe even higher risk than JS. How can one disable it in browsers if one so wishes?

Anders
  • 64,406
  • 24
  • 178
  • 215
  • 1
    "As noted on Wikipedia, the technology poses maybe even higher risk than JS." [unreliable source][not in citation given] – Joseph Sible-Reinstate Monica Jan 22 '20 at 13:51
  • Joseph Sible-Reinstate Monica wiki: "WebAssembly has been criticized for allowing greater ease of hiding the evidence for malware writers, scammers and phishing attackers." - that is what I based my phrase on. What have you meant? – Alexei Martianov Jan 23 '20 at 07:11

1 Answers1

2

I did some more search and disabling is not complex. In e.g. https://github.com/stevespringett/disable-webassembly for Firefox one should:

Enter about:config in the URL bar and change javascript.options.wasm to false

I've checked with sample app https://subzey.github.io/wasm-canvas2d/ and it indeed changes working app to not-working.