How Mozilla Uses Claude Mythos to find Firefox bugs before hackers do
Brian Grinstead from Mozilla explains how the company used agentic AI to find and patch nearly 500 security bugs in Firefox in one month.
The gist
-
Mozilla built a pipeline where agents generate hypotheses, create tests, verify results, and patch bugs, finding the system design mattered as much as the model.
-
A lightweight scoring pass ranks files by risk first, so agents focus on high-signal targets instead of scanning tens of millions of lines at once.
-
A second verification agent checks that patches actually fix crashes and rejects workarounds, turning AI output into bug tickets teams are willing to trust.
-
Agents running relentless feedback loops found vulnerabilities over 15 years old that humans would never catch through manual code review.
"The initial version used the Claude agent SDK, which is essentially a wrapper of the Claude Code CLI where it runs it in a special mode where it's streaming out JSON but gives you nice programmatic hooks for a Python or TypeScript project."
▶ Play at 15:04259 creators recommend it, including Riley Brown, Chris Koerner, and Peter Yang.
See all on the Claude page"I asked Claude Code, go figure out semantically when this bug was introduced. I was watching it do git commands that I didn't even know existed to go kind of taking notes as it was doing it."
▶ Play at 19:47112 creators recommend it, including Riley Brown, Liam Ottley, and Peter Yang.
See all on the Claude Code pageWhat they recommend · 3 picks
“The initial version used the Claude agent SDK, which is essentially a wrapper of the Claude Code CLI where it runs it in a special mode where it's streaming out JSON but gives you nice programmatic hooks for a Python or TypeScript project.”
“I asked Claude Code, go figure out semantically when this bug was introduced. I was watching it do git commands that I didn't even know existed to go kind of taking notes as it was doing it.”
“I think people should use Firefox. I think a lot of people probably switched to Chrome when it came out and honestly for good reason — it was a better product at the time.”
Also mentioned
Ads in this episode
Metaview. They're paid, so we keep them out of the picks above.
See what How I AI recommends without being paid →Related episodes
Episodes covering similar topics