Re:‘Zero-click’ hacks are growing in popularity
by NohatCoder on Saturday February 19, 2022 @01:39PM
(#30399345)
It is a tradeoff. Making an airtight sandbox is not that hard. Making it run programs near hardware speed is a lot harder. Making it run legacy machine code is a nightmare.
JavaScript is not machine code, but still a good deal harder to make fast than a language designed for fast sandboxing. Of course there have been bugs, but mostly I think the JS VMs have done a pretty good job of protecting browsers.
Saying just make airtight sandboxes is like just write bug-free code.