Earlier quoted context omitted.
They already are partly in JS so there's a smooth path. (Wasm isn't safe but could be a building block too)
I can't find the link right now but I seem to remember that Firefox already replaced some internal native subsystems with the same code compiled to WASM - or maybe even compiled to WASM and then translated back to C, which basically adds a runtime memory safety layer to unsafe C code at the cost of some performance (I think it was a couple of media codecs, but not sure). Not sure why you think that WASM is less secur…
Mozilla fixes Firefox zero-day actively exploited in attacks
31–40 of 151 posts
Re: Mozilla fixes Firefox zero-day actively exploited in attacks
#32Earlier quoted context omitted.
I can't find the link right now but I seem to remember that Firefox already replaced some internal native subsystems with the same code compiled to WASM - or maybe even compiled to WASM and then translated back to C, which basically adds a runtime memory safety layer to unsafe C code at the cost of some performance (I think it was a couple of media codecs, but not sure). Not sure why you think that WASM is less secur…
If your browser is running in a wasm sandbox, it's a minor comfort that only your browser gets compromised which contains all your creds, etc.
Re: Mozilla fixes Firefox zero-day actively exploited in attacks
#33Earlier quoted context omitted.
If your browser is running in a wasm sandbox, it's a minor comfort that only your browser gets compromised which contains all your creds, etc.
Only parts of the browser are running in multiple small isolated WASM sandboxes, those WASM sandboxes are isolated from outside world about as well as if they would run in their own process.
Re: Mozilla fixes Firefox zero-day actively exploited in attacks
#34Seems bad. "An attacker was able to achieve code execution in the content process by exploiting a use-after-free in Animation timelines. We have had reports of this vulnerability being exploited in the wild." See: - NVD page for CVE-2024-9680: https://nvd.nist.gov/vuln/detail/CVE-2024-9680 - Mozilla security advisory: https://www.mozilla.org/en-US/security/advisories/mfsa2024-5...
It seems to be JavaScript-free from the description, which makes it even scarier. Imagine the libwebp decoder bug except embedded media blocking doesn't really work (who blocks CSS?).
Re: Mozilla fixes Firefox zero-day actively exploited in attacks
#35Re: Mozilla fixes Firefox zero-day actively exploited in attacks
#36Re: Mozilla fixes Firefox zero-day actively exploited in attacks
#37Regain your ability to sleep at night: https://www.qubes-os.org/
Re: Mozilla fixes Firefox zero-day actively exploited in attacks
#38We need a browser written in managed lang Even if it means some perf drop, modern hardware will get it back in X years, but safety will be significantly improved
Sounds like Mozilla should invent a low level language with great safety guarantees, maybe even call it after some form of oxidation process[1]. Then make a browser engine called after a motor[2], and then NOT axe the team responsible for it[3]. I think the last part might be crucial. [1] https://www.rust-lang.org/ [2] https://servo.org/ [3] https://paulrouget.com/bye_mozilla.html
Re: Mozilla fixes Firefox zero-day actively exploited in attacks
#39We need a browser written in managed lang Even if it means some perf drop, modern hardware will get it back in X years, but safety will be significantly improved
Ladybird[1] is switching to Swift[2]. [1] https://ladybird.org [2] https://news.ycombinator.com/item?id=41208836
Re: Mozilla fixes Firefox zero-day actively exploited in attacks
#40We need a browser written in managed lang Even if it means some perf drop, modern hardware will get it back in X years, but safety will be significantly improved
Rust was created at Mozilla and currently 11.7% of the Firefox source code is in Rust: https://4e6.github.io/firefox-lang-stats/ That's down from 12.49% at the peak in July 2020 so I assume the conversion work was halted after the layoffs in 2020: https://docs.google.com/spreadsheets/d/1flUGg6Ut4bjtyWdyH_9e...
https://techrights.org/o/2022/02/17/mozilla-salaries/
https://www.reddit.com/r/browsers/comments/yy986k/can_someon...