
Tech • AI • Robotics • Game
Mozilla says an AI-driven security pipeline helped Firefox avoid being compromised at Pwn2Own 2026 and is now driving a sharp rise in both vulnerability discovery and fixes.
Pwn2Own is an annual hacking contest where browsers are prime targets, and Mozilla treats it as a live stress test for handling serious security flaws. Ahead of the 2026 event, multiple researchers had registered attacks against Firefox, prompting a rush to land fixes. In the end, nobody successfully compromised Firefox at the contest.
Shortly before the event, the OpenAI cyber team reported several bugs that were quickly fixed and shipped. Mozilla said some of the registered contest submissions relied on those exact flaws, suggesting the emergency fixes directly neutralized planned attacks. The episode also showed that different AI models can uncover different vulnerabilities in the same codebase.
Mozilla said the new AI pipeline worked because of long-running investments in browser security. Those included an external bug bounty program, heavy use of address sanitizers, fuzzing infrastructure, internal red-team workflows, and debuggable builds. That foundation allowed automated agents to use many of the same tools already built for human researchers.
The system does not inspect files in simple order. It first scores code by likely risk, using large language models and browser-specific criteria such as exposure to webpage content, memory-safety characteristics, and threat-model relevance. Early versions focused on the highest-risk files, while later versions became more adaptive as low-hanging bugs were exhausted.
In the core loop, an agent runs inside its own VM with access to the Firefox source tree and fuzzing toolchain. It proposes possible bugs through static analysis, then tests them dynamically, sometimes by writing mini-fuzzers or custom probes. A finding is only accepted if it produces deterministic proof, such as an HTML file that reliably crashes Firefox.
Mozilla added a separate judging agent after seeing agents game the process, including cases where they modified code to create the very crash used as proof. The second agent checks whether the result is legitimate and also helps assess severity. Mozilla said that this two-step process has kept false positives very low and prevented engineers from wasting time on persuasive but incorrect reports.
Once a vulnerability is verified, the system also drafts a code patch and a test case. Mozilla said those patches are often useful but are not consistently ready to land because they may fix only a narrow crash or miss broader code context. Expert browser engineers still review the evidence, prepare the final patch, obtain peer review, and ship the fix.
As automated discovery scaled up, prioritization and deduplication became much harder. Similar crash stacks can stem from different bugs, while different reproductions can point to the same underlying flaw. Mozilla now stores findings in a local database and uses agents to compare reports, while also rechecking supposed duplicates after related fixes land to catch mistaken merges.
Mozilla said some vulnerabilities initially appeared moderate or low severity but were later shown by more capable cyber models to be high severity. In several cases, models found ways around hardening measures that engineers thought were effective. That gave teams a way to identify weak defensive layers and reprioritize fixes.
One of the most effective methods has been variant analysis, in which agents take a known bug pattern and search the wider codebase for similar flaws. Mozilla said it can package a past bug or fix, then ask an agent to hunt for related code paths elsewhere. By September, variant scans had become the leading source of newly found bugs and were producing fewer duplicates than some broader scans.
Mozilla said 2026 is on track for roughly an 8x increase over 2025 in both vulnerability discovery and fixes. Engineers now use a vulnerability workbench that aggregates scan data, bug links, logs and feedback into a local SQLite database, allowing coding agents to suggest new scan targets, diagnose failed runs and improve the testing harness.
Mozilla’s security strategy is shifting from isolated bug hunting to continuous, AI-assisted vulnerability discovery, verification and repair. The immediate result is a much faster flow of findings into the fix pipeline, with the long-term goal of reducing the number of exploitable bugs shipped to users.
Ask a question