Behind the Scenes Hardening Firefox with Claude Mythos Preview

Brian Grinstead · 2026年5月7日

AI 摘要 AI 生成,可能有误

Mozilla 介绍了它如何使用 Claude Mythos Preview 及其他 AI 模型,在一个构建于其模糊测试基础设施之上的智能体(agentic)框架驱动下,找出并修复了 Firefox 中数量空前的潜在安全漏洞,其中包括沙箱逃逸漏洞以及可追溯到 15-20 年前的老旧漏洞,共有 271 项修复已随 Firefox 150 发布。该团队通过将漏洞挖掘任务并行分发到多台临时虚拟机上运行,并将漏洞发现整合到涵盖去重、分诊、发布修复的完整安全漏洞生命周期中,从而扩大了这项工作的规模。团队指出,更好的模型和框架技术使 AI 生成的漏洞报告从低价值的噪音转变为高信噪比的重要发现。Mozilla 已发布了部分漏洞报告样本,建议其他软件项目现在就开始采用这些 AI 辅助的安全加固技术,并计划将此类分析集成到持续集成(CI)流程中,以便在补丁合入时对其进行扫描。

Two weeks ago we announced that we had identified and fixed an unprecedented number of latent security bugs in Firefox with the help of Claude Mythos Preview and other AI models. In this post, we’ll go into more detail about how we approached this work, what we found, and advice for other projects on making good use of emerging capabilities to harden themselves against attack.

Suddenly, the bugs are very good

Just a few months ago, AI-generated security bug reports to open source projects were mostly known for being unwanted slop. Dealing with reports that look plausibly correct but are wrong imposes an asymmetric cost on project maintainers: it’s cheap and easy to prompt an LLM to find a “problem” in code, but slow and expensive to respond to it.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 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.

Trustworthy JavaScript for the Open Web

AI 摘要Mozilla introduces WAICT (Web Application Integrity, Consistency and Transparency), a mechanism that cryptographically binds client-side web code to manifests committed to publicly auditable logs, protecting applications—even end-to-end encrypted ones—against malicious or compromised servers serving modified code. Sites can opt in to enforcement so browsers reject any code that has not been publicly logged, making attacks observable and attributable. An early prototype is available in Firefox Nightly and can be tested at waict.dev, with Mozilla collaborating with partners like Cloudflare, the Freedom of the Press Foundation, and Meta while developing the specifications openly.

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.