浏览器在着色器中做了什么:WebGPU隐私的测量研究
What Browsers Do in the Shaders: A Measurement Study of WebGPU Privacy
AI总结:
本文提出WGPULens框架,通过受控场景、浏览器-原生共存、参与者现场研究、公共页面加载和缓解策略,测量WebGPU的隐私信号,发现管线编译状态是最清晰的隐私泄露面。
摘要:
WebGPU允许普通网页通过经过验证的编程模型运行GPU工作负载。验证保护了内存安全,但共享的浏览器、驱动程序、操作系统和GPU状态仍可能暴露与隐私相关的信号。我们提出了WGPULens,一个用于在受控场景、浏览器-原生共存、参与者现场研究、公共页面加载和缓解策略中测量这些信号的框架。我们的框架分离了测量:受控场景支持泄露、边界和缓解声明;参与者运行支持部署、兼容性和可指纹性;Tranco爬虫测量真实网页中的WebGPU暴露。我们的受控结果将持久管线编译状态确定为最清晰的表面。冷/暖管线探测揭示了跨选定来源、配置文件和浏览器位置的先前编译状态。受控的浏览器/原生实验还表明,在标记工作负载下,可以从浏览器可见的观测中推断出原生GPU活动。其他资源探测提供了较弱的阳性结果和阴性对照。参与者现场研究显示,活跃的WebGPU行为在样本中高度独特,确定性组件在运行内稳定,而跨重复访问的精确稳定性较低。页面加载爬虫发现WebGPU使用主要是适配器探测和静态支持代码,未观察到页面加载的着色器、管线、队列、查询或映射活动。缓解试点确定了源代码级密钥分离作为评估管线缓存分区的代理。总体而言,WGPULens表明WebGPU隐私分析必须针对特定表面:浏览器需要测量哪些GPU状态跨越哪个边界,哪些浏览器可见信号揭示了它,以及相应的缓解成本是多少。
英文摘要:
WebGPU lets ordinary web pages run GPU workloads through a validated programming model. Validation protects memory safety, but shared browser, driver, OS, and GPU state can still expose privacy-relevant signals. We present WGPULens, a framework for measuring those signals across controlled scenarios, browser-native co-residency, a participant field study, public page loads, and mitigation policies. Our framework separates measurements: controlled scenarios support leakage, boundary, and mitigation claims; participant runs support deployment, compatibility, and fingerprintability; and a Tranco crawl measures WebGPU exposure in real-world pages. Our controlled results identify persistent pipeline compilation state as the clearest surface. Cold/warm pipeline probes reveal prior compilation state across selected origin, profile, and browser placements. Controlled browser/native experiments also show native GPU activity can be inferred from browser-visible observables under labeled workloads. Other resource probes provide weaker positive results and negative controls. The participant field study shows active WebGPU behavior is highly distinctive within the sample, with deterministic components stable within runs and lower exact stability across repeated visits. A page-load crawl finds WebGPU use mainly as adapter probing and static support code, with no observed page-load shader, pipeline, queue, query, or map activity. Mitigation pilots identify source-level key separation as a proxy for evaluating pipeline-cache partitioning. Overall, WGPULens shows that WebGPU privacy analysis must be surface-specific: browsers need to measure which GPU state crosses which boundary, which browser-visible signals reveal it, and what the corresponding mitigations cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。