Re:Show HN: I built an HTML5 RTL-SDR application
by viraptor on Sunday December 08, 2024 @09:58PM
(#42362702)
> USB communication is not more of a hazard than webgl or setTimeout().
It is though. setTimeout is very limited. WebGL does lots custom allocations which are ripe for exploits (like the native arrays in JS). USB has all that + the scope of every device plugged in which may come with its own issues.
That is an argument against any feature whatsoever beyond maybe a JS-free links/lynx browser. The worse browser bug is a sandbox escape that can obtain root privileges. This has been done by exploiting many different JS features. USB communication is not more of a hazard than webgl or setTimeout().