← Back to context

Comment by afavour

1 day ago

When the alternative is downloading arbitrary executables I find the browser sandbox to be a reassurance.

Except the sandbox is a huge target already, and breaking it means any website can now access and mess with your usb devices. If you can develop an exploit for Chrome's WebUSB system, you potentially have millions upon millions of targets available.

Downloading an arbitrary executable can be made safe (via multiple avenues: trust, anti virus software, audits, artifact signing, reproducible builds, etc) and once the software is vetted, it exposes (or it should at least) little to no attack vector during daily use.

  • > trust, anti virus software, audits, artifact signing, reproducible builds, etc

    My mom has six weather apps on her phone.

Buddy if your "sandbox" lets code inside it replace your keyboard's firmware you don't have a sandbox.

  • Programming your keyboard is actually a common case! See usevia.app

    • It is indeed common!

      But a keyboard flashed with malicious firmware becomes an undetectable keylogger, a USB rubber ducky, and a virus-laden USB stick all in one.

      The concept that someone would want to reflash their keyboard firmware, but wants a sandbox because they don't trust the firmware programmer makes no sense.