Was browsing on the GrapheneOS website and came across a new thing called WebUSB, which is essentially a JS API through which GrapheneOS web installer worked.

This got me wondering, if website could read what’s plugged into my computer like my phone or disks, isn’t that a huge risk to privacy? I don’t know how this works (haven’t used it) so I would like to know about its privacy.

AFAIK Firefox doesn’t allow this API, so that’s a relief (I use librefox), but what about other browsers? I am getting a bit paranoid.

[Also, are there other APIs like these; which are a privacy nightmare that websites could use?]

  • refalo@programming.dev
    link
    fedilink
    arrow-up
    14
    arrow-down
    2
    ·
    edit-2
    1 day ago

    Yes there is a risk of bugs being exploited just like any other feature in a browser. Another example is WebRTC being used to de-cloak VPN users. I think WebGPU and/or WebGL also had exploits that allowed remote code execution or escaping the browser sandbox.

      • FriedRice
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        How van you do that? Im using fedora and Android om phone.

        • Chemical Wonka@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          I manually set the ntp server of my device to match with the location of my VPN server and use an pp to see the time of my real location.

          • FriedRice
            link
            fedilink
            arrow-up
            1
            ·
            10 hours ago

            Im a noob, where to find NTP server and what is pp? I’m using fedora🙂

            • Chemical Wonka@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              3
              ·
              10 hours ago

              You don’t need to change your ntp server exactly you can just set the time zone settings of your device (android)to match the same region of your VPN server. if you want to go a step further you have the option (not mandatorily) to change the NTP server of your device.