返回综合榜
安全与数据Mozilla Hacks可能重复

为开放网络带来可信的 JavaScript

Mozilla 的 Firefox 安全团队提出了 Web 应用完整性、一致性与透明性(WAICT)方案,允许网站将客户端代码通过密码学方式绑定到一份清单,并将清单提交到可公开审计的日志中,使浏览器能够拒绝未经记录的代码。

这一方案的出发点是,浏览器端的 Signal 或 WhatsApp 等端到端加密应用仍然依赖服务器提供可信的 JavaScript,被攻陷的服务器可以向部分用户选择性提供被篡改的代码而不易被察觉。WAICT 要求两个属性:完整性和透明性。网站可选择开启强制执行,如果投递的代码与公开记录的清单不匹配,浏览器将予以拒绝,从而使此前不可见的攻击变得可观察、可归因。

早期原型已在 Firefox Nightly 中通过一个 pref 开关提供,可在 waict.dev 上试用,其中包括一个由 WAICT 保护的端到端加密视频通话应用。Mozilla 正与 Cloudflare、新闻自由基金会和 Meta 等伙伴合作,并在 2026 年真实世界密码学大会上做了联合演讲,规范正在公开制定并欢迎反馈;官方强调该实现仍在进行中,并非最终方案。

Trustworthy JavaScript for the Open Web

Mozilla's Firefox Security Team has introduced Web Application Integrity, Consistency and Transparency (WAICT), a proposal that lets websites cryptographically bind their client-side code to a manifest and commit that manifest to a publicly auditable log, so browsers can reject unlogged code.

The motivation is that end-to-end encrypted web apps such as browser-based Signal or WhatsApp still depend on the server to deliver trustworthy JavaScript, meaning a compromised server could selectively serve modified code to some users without detection. WAICT requires two properties, integrity and transparency: sites opt in to enforcement, and if delivered code does not match a publicly logged manifest, the browser rejects it, making previously invisible attacks observable and attributable.

An early prototype is available behind a pref in Firefox Nightly and can be tested at waict.dev, including an end-to-end encrypted video calling app secured by WAICT. Mozilla is working with Cloudflare, the Freedom of the Press Foundation and Meta, presented the work at Real World Cryptography 2026, and is developing the specification in the open while welcoming feedback; the implementation is described as a work in progress, not a finished solution.

WAICTMozillaFirefoxweb securityend-to-end encryptioncode integritytransparency log
综合6
质量90
猎物热度0
时效0
信息来源1 个来源,主来源:Mozilla Hacks

猎鹰不保存原文正文。标题与摘要用于快速发现信息,事实细节请以来源原文为准。

查看来源