Trustworthy JavaScript for the Open Web

Firefox Security Team · 2026年5月5日

AI 摘要 AI 生成,可能有误

Mozilla 推出了 WAICT(Web 应用完整性、一致性和透明度),这是一种通过密码学方式将客户端网页代码与提交至公开可审计日志的清单进行绑定的机制,可保护应用程序——即便是端到端加密的应用——免受恶意或遭入侵的服务器提供被篡改代码的侵害。网站可以选择启用强制执行,从而使浏览器拒绝任何未经公开记录的代码,让攻击变得可观察、可追责。早期原型现已在 Firefox Nightly 中提供,并可通过 waict.dev 进行测试。Mozilla 正在与 Cloudflare、新闻自由基金会和 Meta 等合作伙伴协作,同时公开地制定相关规范。

The open web is a critical platform for applications that handle highly sensitive data, from private communications to financial transactions and medical records. Traditionally, servers are trusted to deliver the appropriate code and resources for their web applications to browsers, who then provide a secure and isolated environment for their execution. In some circumstances, this trust model falls short.

Consider a browser-based messaging application, like Signal or WhatsApp, which uses end-to-end encryption. The browser depends on the server to provide a trustworthy javascript implementation of the app; which ensures the user’s messages and cryptographic keys are suitably protected. A malicious or compromised server could selectively serve modified code to some users, undermining their security with little risk of detection. This challenges the basic premise of end-to-end encryption: that a misbehaving server should not be able to compromise user security.

Towards Verifiable Security on the Web

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Mozilla Hacks

Intent to Ship: JPEG XL

AI 摘要Mozilla has announced its intent to ship JPEG XL support in Firefox, based on jxl-rs, a safe and compact Rust decoder built by Google Research after concerns about the attack surface of the original 100,000-line C++ implementation. Firefox's implementation includes progressive rendering, which lets images display as they download, a feature Safari's earlier version lacked. The article also compares JPEG XL with AVIF, noting that AVIF tends to produce smaller files at web quality, while JPEG XL excels at lossless imagery and recompressing existing JPEGs, so developers should choose based on their use case.

PACT: Anonymous Credentials for the Web

AI 摘要The article describes how websites' anti-bot defenses are increasingly failing, as browser privacy protections erase passive signals and generative AI renders CAPTCHAs ineffective, forcing users into a dilemma between privacy and access. It critiques device-attestation solutions like Google's Web Environment Integrity and Apple's Private Access Tokens for concentrating control in hardware manufacturers and threatening the open web's openness. As an alternative, Mozilla proposes a system of anonymous credentials built on Privacy Pass-style cryptography, where sites can rate-limit users anchored to scarce resources (such as email addresses or VPN subscriptions) without learning their identities, while open challenges like issuer blinding and issuer trust evaluation remain to be solved.

Announcing Web Serial Support in Firefox

AI 摘要Firefox 151 for Desktop now supports the Web Serial API, enabling web applications to communicate directly with serial-connected hardware such as microcontrollers, development boards, 3D printers, and power meters without native software. Mozilla collaborated with Adafruit to test the implementation against real hardware workflows, and security is handled through explicit per-site, per-port user permission prompts. Mozilla is also pursuing standardization of the API through the WHATWG.

Behind the Scenes Hardening Firefox with Claude Mythos Preview

AI 摘要Mozilla explains how it used Claude Mythos Preview and other AI models, driven by an agentic harness built atop its fuzzing infrastructure, to find and fix an unprecedented number of latent security bugs in Firefox, including sandbox escapes and bugs dating back 15-20 years, with 271 fixes shipped in Firefox 150. The team scaled the effort by parallelizing bug-hunting jobs across ephemeral VMs and integrating discovery into its full security bug lifecycle of deduplication, triage, and shipping fixes, noting that better models and harnessing techniques transformed AI bug reports from low-value noise into high-signal findings. Mozilla has published a sample of the bug reports, recommends that other software projects begin using these AI-assisted hardening techniques now, and plans to integrate this analysis into continuous integration to scan patches as they land.

Firefox Developer Edition and Beta: Try out Mozilla’s .rpm package!

AI 摘要Mozilla has announced that its .rpm package is now available for Firefox Beta on RPM-based Linux distributions, following the January release of the Nightly package. Users can add Mozilla's RPM repository to install and update Firefox Beta with their package manager, benefiting from better performance, faster updates, hardened binaries, and no need to create their own .desktop file. The beta package can coexist with the distribution's Firefox, and language packs can be installed automatically or manually.