3 ms·
WebGPU! Wohoo. I'm tracking the increase in availability of WebGPU across the web here: https://twitter.com/benhouston3d/status/1653865357080248321 https://tw
by bhouston 4y ago
WebGPU! Wohoo. I'm tracking the increase in availability of WebGPU across the web here: https://twitter.com/benhouston3d/status/1653865357080248321 https://twitter.com/benhouston3d/status/1653865357080248321
- runlevel1 4y agoThat sounds like a fun new fingerprinting attack surface. --- EDIT: That might have been too cynical. Let me take another stab: That opens up some cool new possibilities, but also a seemingly large new attack surface. Does anyone know what's been done to mitigate it?
- sebazzz 4y agoAlso another GPU driver attack vector.
- cubefox 4y agoI'm also excited about WebGPU!
- runlevel1 4y agoTo partially answer my own question, some of the risks are identified here: https://www.w3.org/TR/webgpu/#malicious-use https://www.w3.org/TR/webgpu/#malicious-use The mitigations, however, feel rather light given the exposure.
- cubefox 4y agoThe alternative would be to ask for explicit permission per website, similar to notifications or webcam access. Sounds like overkill to me.
- lxgr 4y agoMalicious/non-informed cryptocurrency mining in a background tab also comes to mind. Would it make sense for GPU access to be a permission that users have to explicitly grant?
- MuffinFlavored 4y agoAre you aware of any examples/demos of onnxruntime-web using the WebGPU backend that was merged but not yet released for v1.15?
- aigoochamna 4y ago[flagged]
- arrow7000 4y agoBack in 2011
- capableweb 4y agoAny updates on adding integrity checking to the script? Makes it a bit worrisome to embed it on sites otherwise.
- bhouston 4y agoCheck the homepage: https://web3dsurvey.com https://web3dsurvey.com Instead of direct JavaScript includes I now recommend just putting it in an iframe and I share example code on the homepage. This lets me still update the script while also ensuring it can not access cookies or other things in the main page context. What do you think?
- capableweb 4y agoThe point of the integrity hash is to be able to include a remote resource after reviewing and verifying it, and then being sure it doesn't change to do other things automagically, that you haven't reviewed before it runs on your users browser. Wrapping the script tag in a iframe does not accomplish this as far as I can tell.
- bhouston 4y agoRight. But the main attack vector of a raw JavaScript include into the main page is that it can access anything you are doing in that page include logins or secrets or cookies or other private data. Moving it into an iframe sandboxes it and reduces the majority of nefarious things it can do. Especially if it is running off of web3dsurvey in the iframe and not the host website origin - thus a bunch of cross origin protections kick in. So the iframe sandbox deals with the security issue is a different fashion. Also the iframe can not block the main pages so it has even less impact on the main page experience. This is as secure now as the majority of ads served on the web.