章鱼总结
00:00 / 20:19

OpenAI · 20:19

说话人 0

Hey, Brian. Thanks for stopping by OpenAI. Happy to be here.

嘿,布莱恩。 谢谢你抽空来 OpenAI。 很高兴来到这里。

There was recently a Pwn to Own competition. Could you tell me a little bit about how that went for you all? And also, like.

最近举办了一场 Pwn to Own 竞赛。 能跟我们聊聊这次比赛对你们来说怎么样吗? 还有,嗯,

说话人 1

what is Pwn to Own? So, Pwn2Own is an annual hacking competition, and browsers are one of the top targets, of course. Every year, we use that as an opportunity, sort of as a fire drill for what it would be like if there were a real security critical bug in the wild that we knew to be exploited. because we know that researchers are going to show up and attack Firefox. and it's a great controlled environment for us to practice that. and we knew coming into it this year in 2026 that many researchers are using these agentic scanning tools. and there's a lot of bugs to find earlier in the year. we had a number of people who had registered attacks on Firefox. and so we had a scramble and a kind of a last minute crunch to try to get a bunch of bug fixes in. and that's actually where we connected with your team. yeah.

Pwn to Own 到底是什么? Pwn2Own 是一年一度的黑客竞赛,浏览器当然是最主要的目标之一。 每年,我们都会借此机会进行一次演练,模拟如果现实中出现一个已知正遭到利用的严重安全漏洞,会是什么情况。 因为我们知道,研究人员会来攻击 Firefox。 这对我们来说是一个很好的受控环境,可以用来演练应对。 我们今年,也就是 2026 年,参赛前就知道,很多研究人员都在使用这类智能体扫描工具。 而且今年早些时候就发现了不少漏洞。 有好几个人登记了针对 Firefox 的攻击。 所以我们一阵忙乱,临近最后期限时更是争分夺秒,尽可能修复一批漏洞。 实际上,我们就是在那时和你们团队联系上的。 是啊。

说话人 0

we were very excited to partner with you in the days leading up to pwn to own. you know that some teams claim that they have exploits for it. what was that like? and then what was the last minute scrambling that happened?

在 Pwn to Own 开始前的几天里,能和你们合作,我们非常激动。 你知道,有些团队声称他们有针对它的漏洞利用程序。 那是什么情况? 那么最后一刻发生了什么手忙脚乱的情况?

说话人 1

we had a great outcome at this, which was nobody was able to pwn Firefox. part of that story actually was the OpenAI cyber team filed a few bugs shortly before the event. And after we fixed those and quickly uplifted them, it actually turned out that a number of the submissions were using that exact bug. And so that was what kind of pointed us in this direction of, okay, different models find different bugs, even if you've scanned the code multiple times.

这次的结果非常好,没有人能攻破 Firefox。 其中一个相关情况是,OpenAI 网络安全团队在活动开始前不久提交了几个漏洞报告。 我们修复这些漏洞并迅速将修复推送到正式版本后,结果发现有不少提交利用的正是那个漏洞。 这让我们开始意识到,不同的模型会找到不同的漏洞,即使代码已经被扫描过多次。

说话人 0

Could you tell us a bit about what has Mozilla been building over the years which makes uh this new agentic security pipeline even more valuable and effective?

能否介绍一下 Mozilla 多年来一直在构建什么,以及这些积累如何让这个新的智能体安全流水线更有价值、也更有效?

说话人 1

One of the reasons that we've been able to really take advantage of this new tool chain is that we've done decades of preparation for it. we've been running an external bug bounty program where we get external submissions and ask people to poke at our code and try to attack it. we've been early on address sanitizers and fuzzers within our internal red team. and so we're actually quite used to and comfortable with receiving a pretty large volume of external reports. and on the other side, our engineers are really adept at getting those fixed. tracking the release and getting it out to users quickly.

我们之所以能够充分利用这套新工具链,原因之一是我们为此做了数十年的准备。 我们一直在运行外部漏洞赏金计划,接收外部提交,并请人们检查我们的代码、尝试攻击它。 我们很早就在内部红队中采用了地址消毒器和模糊测试工具。 因此,我们其实相当习惯并且能够从容应对大量外部报告。 另一方面,我们的工程师也非常擅长修复这些问题, 跟进发布流程,并迅速将修复推送给用户。

说话人 0

and i think you also have invested a lot in fuzzing as well and debuggable builds and a lot of the primitives that enable, for example, an agent to spin up an instance of firefox, test a potential exploit, and then sort of iterate rapidly.

我认为你们在模糊测试、可调试构建,以及许多基础工具方面也投入了大量精力;正是这些工具使智能体能够启动一个 Firefox 实例、测试潜在漏洞利用,然后快速反复迭代。

说话人 1

is that true? that's right. it turns out that having built out these tool chains for both fuzzers, and internal researchers, external researchers, agents can just use those same tools.

是这样吗? 没错。 事实证明,我们为模糊测试工具、内部研究人员和外部研究人员搭建了这些工具链之后,智能体也可以直接使用同样的工具。

说话人 0

Okay, so let's dive into the very cool system you all have built.

好,那我们来深入了解一下你们构建的这个很酷的系统。

说话人 1

So this is the overall architecture that we have, and I would call this an overall agentic security pipeline with a sort of inner loop of. and agentic security harness, which is in charge of discovering the bugs. but it's actually a lot more than that which goes into it. from a big picture, at the very top, there's a question of what are you going to point the agent at to try to find a bug? what i thought we might do at first is, well, you sort the files alphabetically and you go one by one by one through the entire tree, and you realize really quickly that's not going to work. so the very first thing that we did is we added some scoring mechanism. with just asking an LLM to grade a file based on the contents of the file. you know, how risky does this look? is it exposed to web page content? what's some of the memory safety characteristics or other risk models and so on? and so the initial version basically takes that list of files with scores and some sense of the history, like how many times have you run it? and in a really simple model would just spit out and say, here's the next 50 targets that are important to run. And that actually worked great at the start as we were picking a lot of the low-hanging fruit in these systems, but we had to start to get a little more clever with it over time.

这是我们整体架构的示意图,我会把它称为一个整体的智能体安全流水线,其中有一个内循环…… 以及一个负责发现漏洞的智能体安全测试框架。 不过,整个系统包含的内容远不止这些。 从宏观角度看,最核心的问题是:你要让智能体针对什么目标去寻找漏洞? 我一开始想的是,嗯,按字母顺序排列文件,然后沿着整个目录树逐个检查;但你很快就会意识到,这行不通。 所以我们做的第一件事,就是加入了一套评分机制。 做法只是让一个 LLM 根据文件内容给文件打分。 你知道,这看起来有多大的风险? 它会接触到网页内容吗? 它有哪些内存安全方面的特征,或者其他风险模型,诸如此类? 因此,最初的版本基本上会根据文件列表及其分数,再结合一些历史信息——比如你运行过多少次——来进行处理。 而一个非常简单的模型会直接给出结果,说:以下是接下来最值得检查的 50 个目标。 一开始这确实效果很好,因为我们在这些系统里找到了很多容易发现的问题;但随着时间推移,我们必须让它变得更聪明一些。

说话人 0

Yeah, and for the uh LLM-based prioritization, uh including in that prompt, uh you had some uh domain-specific expertise in terms of the maybe specific risks or threats if you're a browser. Can you say a little bit about how that scoring worked?

是的,关于基于 LLM 的优先级排序,在提示词里你还加入了一些领域专长,比如浏览器所面临的特定风险或威胁。 能不能稍微讲讲这个评分是怎么运作的?

说话人 1

Yeah, that's right. And this actually goes back to the idea of having uh expertise built up over many years. our code base has technical documentation that we've written and shared with engineers writing code. we've written artifacts for researchers and our own internal scans ahead of all of this ai wave. and so those we're able to plug in and make sure that we're getting the right scores that are relevant based on our actual threat model.

没错。 这其实又回到了那个想法:多年积累的专业知识。 我们的代码库有技术文档,这些文档是我们编写并分享给编写代码的工程师的。 在这波 AI 浪潮到来之前,我们还为研究人员编写了资料,也开展了内部扫描。 因此,我们可以把这些内容接入进来,确保得到的分数与我们的实际威胁模型相关且准确。

说话人 0

okay.

好。

说话人 1

what happens next? okay, so once we enter into the inner loop, this is a loop that a lot of security engineers will be familiar with. we're putting an agent inside of its own vm. we're giving it access to the firefox source code and all of our fuzzing tool chain. and we're giving it some sort of target or goal. and we tell it, you know, go find a bug. it's really important that it has access to the dynamic testing tool. because what we see is it will come up with many bug theories, and then it will test it in our fuzzing tools and realize that it was wrong. and so there's sort of an inner loop happening here where it's coming up with some theories about bugs, usually by static analysis. sometimes it will write little mini fuzzers or do other dynamic testing and all sorts of interesting things. but it continues in this loop until we have a deterministic verification that it succeeded at finding the sort of bug that we care about.

接下来会发生什么? 好,一旦进入内循环,这个流程是许多安全工程师都熟悉的。 我们会把一个智能体放进它自己的虚拟机里。 我们会让它访问 Firefox 源代码和我们的整套模糊测试工具链。 我们还会给它某种目标或任务。 然后告诉它:你知道的,去找个漏洞。 让它能够使用动态测试工具,这一点非常重要。 因为我们发现,它会提出许多关于漏洞的猜想,然后用我们的模糊测试工具进行测试,最后发现猜错了。 所以这里会形成一个内循环:它提出一些关于漏洞的猜想,通常是通过静态分析得出的。 有时它会编写一些小型模糊测试器,或进行其他动态测试,还会做各种有意思的事情。 不过,它会一直循环下去,直到我们能够确定性地验证它确实找到了我们关注的那类漏洞。

说话人 0

and the deterministic verification is, for example, a HTML file that when loaded by firefox causes a crash.

举例来说,确定性验证可以是一个 HTML 文件,Firefox 加载后会因此崩溃。

说话人 1

that's right. and we've started to work on more complex verifiers for catching different sorts of logic errors and sandbox testing. but at its core, it's the easiest way to think about it. and that is still the primary source of browser bugs, is looking for a memory safety bug caused by a test case.

没错。 我们已经开始着手开发更复杂的验证器,用来捕捉不同类型的逻辑错误并测试沙箱。 但从本质上说,最简单的理解方式就是这样。 而浏览器漏洞的主要来源仍然是:寻找由测试用例引发的内存安全漏洞。

说话人 0

i'm curious to hear a little bit more about the verifiers, because i think that's actually a key point where you give the model access to source code. it's coming up with a bunch of potential bugs. but then, yeah, ultimately, at the scale that you're doing things, you need some automated way to say, like, okay, is this a real thing or not?

我很想进一步了解这些验证器,因为我认为这实际上是个关键点:你们让模型访问源代码。 它会提出一大堆潜在漏洞。 但最终,就你们目前的工作规模而言,你们需要某种自动化方式来判断:好吧,这到底是不是真的?

说话人 1

basically, to get out of this inner loop, it has to have proven that it caused, for example, a crash. however, we've seen agents do all sorts of interesting things. and so what we do is after it's proven that, it gets handed off to a separate agent that's meant to judge whether it did something funny. so, for example, i've seen cases where it wrote some code to patch the code base to introduce a crash. cause the crash, which then passes the deterministic gate. and we found that's where we need to have the second agent to basically check the work. it also does some grading on severity and other information given our threat model. and so coming out of those two agents, we actually have a tiny false positive rate. so there's all sorts of weird stuff that happens in ways that we've needed to improve the reports and we have duplicate bugs and all sorts of things we can talk about. but we have not been burned by this problem of, you know, the markdown file that explains what's wrong with the function, and then an engineer is spending an hour reading through it and gets 80% of the way through and realizes it's wrong. that's not been a problem in our system because of those checks. yeah, and speaking of tests, of course, after we have a verified report, we want to try to fix it.

基本上,要跳出这个内循环,它必须证明自己造成了某种结果,比如引发崩溃。 不过,我们见过智能体做出各种有意思的事情。 所以我们会在它证明了这一点之后,把任务交给另一个独立的智能体,由它来判断它有没有做出什么异常举动。 比如说,我见过一些情况:它编写了一些代码来修改代码库,从而引入一个崩溃问题。 导致崩溃,而这个问题随后通过了确定性门槛。 我们发现,这就是需要第二个智能体来检查工作成果的地方。 它还会根据我们的威胁模型,对严重程度和其他信息进行评级。 因此,经过这两个智能体的处理后,我们的误报率实际上非常低。 我们还遇到过各种各样奇怪的情况,所以需要改进报告;也会有重复的漏洞,等等,这些都可以展开聊聊。 但我们没有遇到过这样的问题:工程师花一个小时阅读解释函数哪里有问题的 Markdown 文件,读到 80% 时才发现报告是错的。 由于有这些检查,我们的系统里没有出现过这种问题。 是的,说到测试,在拿到经过验证的报告后,我们当然会尝试修复问题。

and so one of the things that we do to support our engineers is inside of the loop, we have an agent actually write code to fix the problem that it found, which includes both a patch to the code and a test. all of this is wrapped up in really a pretty simple cloud orchestration environment where we're writing the results back into storage buckets, and we pull that back in to the local workbench. the broader, you know, i think, you know, most importantly, the broader bug fix pipeline.

为了支持工程师,我们采取的做法之一是在流程中让一个智能体实际编写代码来修复它发现的问题,其中既包括代码补丁,也包括测试。 这一切都由一个相当简单的云端编排环境来管理:我们把结果写入存储桶,再将结果拉回本地工作台。 更广泛地说,我认为最重要的是整个漏洞修复流程。

说话人 0

okay, so we're running this pipeline. a bunch of bugs are popping out the other end. how do you think about prioritizing them?

好,我们正在运行这条流程。 大量漏洞从流程的另一端涌现出来。 你们会如何考虑对它们进行优先级排序?

说话人 1

this is an area that didn't used to be a bottleneck. like, it used to be that we received few enough security bug reports that we would immediately jump on every one. and so, as long as you had these familiar signals that it was a high severity bug, it was automatically a p1, essentially. and as we've started to scale up the discovery, we've actually had to make all of these new bottlenecks in the system a little more automated with feedback from our team. so something that was not obvious to me is that it's actually really hard to even deduplicate bugs. if you have 100 scans, with findings. you might think, well, it's very easy. look at the test cases, and if they're the same, they're a duplicate. but you have all sorts of nuances where it has a similar crash stack, but it's actually a different bug, or it's the same stack and it's a different bug. and it actually requires, i think, agentic tools to help make a first shot, but you need a tight feedback loop with the engineering team. if you're too lenient before filing a bug, then you're spamming the very busy and very talented engineering team with things they don't need to look at. but if you're too tight, then you're missing bugs in your bug tracker. and so balancing that has proven to be unintuitively hard.

这个环节过去并不是瓶颈。 过去收到的安全漏洞报告少到足以让我们立刻处理每一个。 因此,只要有这些熟悉的信号表明漏洞严重程度高,它基本上就会自动被定为 P1。 随着我们开始扩大漏洞发现规模,我们实际上不得不在团队反馈的基础上,让系统中所有这些新的瓶颈变得更加自动化。 有件事我之前没想到:要对漏洞进行去重,实际上非常困难。 如果你有 100 份扫描结果,其中包含一些发现, 你可能会想,这很简单。 看看测试用例,如果它们相同,那就是重复项。 但其中有各种微妙之处:有些崩溃堆栈看起来相似,实际却是不同的漏洞;有些堆栈相同,实际也可能是不同的漏洞。 我认为,要迈出第一步,确实需要智能体工具的帮助,但你还需要与工程团队保持紧密的反馈循环。 如果在提交漏洞报告前把关太宽松,就会用工程团队不需要查看的问题去打扰那些非常忙碌、能力出众的工程师。 但如果把关太严,就会漏掉漏洞,导致它们没有进入漏洞跟踪系统。 所以,如何平衡这两者,结果证明难得出乎意料。

说话人 0

i'm curious how you deduplicate vulnerabilities in a world where there's a number of different parts of it, whether that's the reproduction script or the write-up or even the poc exploit. like all of these can actually vary a meaningful amount. i'm curious how you think about doing that.

我很好奇,在漏洞的不同部分都可能各不相同的情况下,你们如何对漏洞去重?这些部分可能是复现脚本、报告内容,甚至是概念验证(PoC)漏洞利用。 这些内容实际上都可能存在相当大的差异。 我很好奇你是怎么考虑处理这件事的。

说话人 1

the best thing we've found so far is we ingest them all into a local database and give an agent access to it and ask it to figure it out. we give it guidance, but they're actually quite clever at being able to connect the dots. of course, we then get cases where it was wrong, and finding a way to feed that back into the prompts and the tool has been helpful. but i'm certain that it's not perfect. and so one of the things that we've been... Trying is to say if we have a finding that was marked. as a duplicate to another bug, basically have a reminder that when that other bug lands in tree, we need to go back to that original finding and confirm that it doesn't work anymore. right? basically looking for cases where we falsely identified something as a duplicate and didn't file it.

目前我们发现最好的办法,是把所有内容都导入本地数据库,让智能体访问数据库并判断。 我们会给它一些指导,但它们确实很擅长把线索联系起来。 当然,之后也会遇到它判断错误的情况;想办法把这些反馈融入提示词和工具中,一直很有帮助。 但我确信它并不完美。 所以,我们一直在尝试的一件事是:如果有一项发现被标记为…… 另一个漏洞的重复项,那么基本上要设置提醒:等那个漏洞合入代码库后,我们需要回头检查最初的发现,确认它确实已经无法复现。 对吧? 基本上就是要找出那些我们误判为重复项、因此没有提交报告的情况。

说话人 0

you mentioned the severity of a given vulnerability before, where sometimes there were reports, or sometimes there were vulnerabilities that you thought were low severity that ended up being high, and that perhaps a cyber model actually helped you distinguish between those two.

你之前提到了某个漏洞的严重程度。有时候,报告中或漏洞本身被你们认为严重程度较低,最后却发现影响严重;或许网络安全模型实际上帮你们区分了这两种情况。

说话人 1

yeah, we've seen this before, where the initial scan that found a bug, or the external reporter who found the bug, the exact test case and the signals from it, were what we might call sec moderate or low. you know, it could be concerning, but it requires some unusual set of steps or configuration, or it didn't really appear to be something that could be escalated. so one of the things that we've both, you know, intentionally been testing in our environment, but also have just seen happen with, you know, more powerful cyber models like gpt-6 cyber. is that it will uncover the same bug as before, but it actually has signals of being a sec high. so it found some way to work around some existing architectural hardening that we thought was bulletproof and managed to show us, no, this bug actually is sec high. it needs to be reprioritized. and so that's a great data point for us so that we know that we're putting attention in the right places. and it also typically might highlight areas that we can actually improve our defense in depth and architectural hardening.

是的,我们以前也见过这种情况:最初发现漏洞的扫描,或发现漏洞的外部报告者,其精确测试用例及其产生的信号,可能会被我们称为安全严重性中等或较低。 你知道,这可能令人担忧,但它需要一系列不寻常的步骤或配置,或者看起来确实不太可能被升级利用。 所以,我们一直有意在自己的环境中测试的一件事,以及我们在更强大的网络安全模型(比如 GPT-6 Cyber)身上看到的情况, 就是它会发现之前的同一个漏洞,但实际上呈现出安全严重性为高的信号。 它找到了一种方法,绕过了我们原以为坚不可摧的现有架构加固措施,并设法向我们表明:不,这个漏洞的安全严重性实际上很高。 它需要重新确定优先级。 这对我们来说是个很有价值的参考点,让我们知道自己把精力放在了正确的地方。 而且,它通常也会指出一些领域,让我们能够切实改进纵深防御和架构加固。

说话人 0

and that seems like quite a big security roi in terms of you've invested in this architecture choice or security control that you think is eliminating or reducing the impact of classes of vulnerabilities and then to have feedback that. that guardrail isn't actually providing the security properties you want it to, and that you actually need to re-harden that, that's a good outcome.

这似乎能带来相当可观的安全投资回报:你投入资源选择了某种架构或安全控制措施,认为它能消除或降低某类漏洞的影响,随后却收到反馈, 指出这道防线实际上并未提供你所期望的安全保障,你确实需要重新加固它——这就是一个不错的结果。

说话人 1

it's a great outcome. and i think one of the things that we've tried to set this whole pipeline up to do is to have very flexible targeting so that if we see an example like that, we can quickly run test jobs that try to replicate that. against other bugs. and it's great to have the flexibility at sort of the targeting stage versus needing to make a bunch of code changes to the harness itself to do that.

这是个很好的结果。 我认为,我们设计整条流水线时尝试实现的一点,就是让目标设置非常灵活,这样如果遇到这样的例子,我们就能迅速运行测试任务,尝试复现这种情况, 并将其应用于其他漏洞。 能够在目标设置阶段保持灵活性非常好,这样就不必为了实现这一点而对测试框架本身做一大堆代码修改。

说话人 0

yeah, we've actually done a similar thing internally where we had a backlog of, say, p2s or things that we know about, but maybe not critical enough to focus on. immediately. and so we had this like backlog. here's a number of sort of low priority issues. and then we pointed our latest models at it and asked essentially, can you combine these into like a p0 or something more serious? another thing you were talking about previously is this idea of variant analysis.

是的,我们内部也做过类似的事:我们有一批积压的问题,比如 P2 级问题,或者一些我们知道存在、但可能还没严重到需要立即投入精力处理的事项。 暂时还不用马上处理。 所以我们就有了这样一批积压事项。 这里有不少优先级较低的问题。 然后我们让最新的模型来分析,并问它:能否把这些问题组合起来,形成一个 P0 级问题或其他更严重的问题? 你之前提到的另一件事,是变体分析这个概念。

could you explain what that is and then also how you all are leveraging it?

你能解释一下那是什么,以及你们是如何利用它的吗?

说话人 1

the idea behind a variant scan is we take a bug that we know about, either a bug that we've already fixed or an open bug, and we bundle that up into a package that we give to the agent, and then we ask it to go hunt for the same pattern across the code base. that's proven to be really effective recently, where we could take bugs, say, every security bug that we fixed in 2025, go try to find things that look kind of like that. and it could be, is it close by the code? is it all the way across the code, but it's sort of a similar pattern that the agents picked up on? it's actually kind of surprising. you can go back pretty far and still find instances of that pattern living in the code base for quite a long time. there's a sort of version of that, which is just a simple commit scan, which is a new commit landed. go look at that commit and see if you can find a vulnerability within it. i think of both of them in sort of a similar family where commits are very narrow in scope. you're looking at this exact set of code, whereas variants are more broad. we're taking essentially a report and a commit and looking more generally for things like it. it's pretty amazing, actually, the way that this has changed in the last few months. and largely this is because we've started to stand this. scanning up, and that's why we're starting to see variant and commit scanning finding so many bugs. but if we look at a percent of bugs found per month in September, variant scans is actually the majority of bugs that we found. one of the reasons is it's tended to find less duplicate bugs too, for whatever reason, and we've just started to find success with it. and so we've pointed energy in that direction, but it's really become a key part. of the strategy right now.

变体扫描的思路是:我们拿一个已知的漏洞——可能是已经修复的,也可能是尚未解决的——把它打包成一个包交给智能体,然后让它在整个代码库中寻找相同的模式。 最近事实证明,这种方法非常有效。比如,我们可以把 2025 年修复的所有安全漏洞拿来,让智能体尝试寻找类似的问题。 它可能就在代码附近吗? 也可能遍布代码各处,但属于智能体识别出的某种相似模式? 这其实挺令人惊讶的。 你可以追溯得相当久远,仍然能在代码库中找到这种模式存在了很长时间的实例。 还有一种类似的做法,就是简单的提交扫描:有一个新提交合入了, 就去检查那个提交,看看能否在其中找到漏洞。 我认为这两种方法属于同一类,只不过提交的范围非常窄。 你看的就是这一组确切的代码,而变体扫描的范围更广。 我们本质上是拿一份报告和一个提交,更广泛地寻找类似的问题。 说实话,过去几个月里,这种变化相当惊人。 这在很大程度上是因为我们开始把扫描工作规模化了。 这就是为什么我们开始看到变体扫描和提交扫描发现了这么多漏洞。 不过,如果看每个月发现的漏洞占比,到了 9 月,变体扫描实际上发现了大多数漏洞。 原因之一是,无论出于什么原因,它往往也能减少重复漏洞;而我们最近才开始在这方面取得成效。 所以我们把精力投向了这个方向,而它确实已经成为 当前策略中的关键部分。

说话人 0

so you have this pipeline that's finding many bugs. obviously, this is a lot of work to fix them. so i'm curious, could you share a bit about how you are helping scale auto fixes for developers?

所以,你们现在有一套能发现许多漏洞的流水线。 显然,修复它们需要做大量工作。 所以我很好奇,你能聊聊你们如何帮助开发者大规模实现自动修复吗?

说话人 1

so of course, in the loop, we create a patch that fixes the bug. and that's a helpful asset to put on the bug report along with the description of it. we've typically found that those patches alone are not able to be... landed as is. sometimes they are, or they're very close, and sometimes they're not. it's a little bit of a grab bag of reasons. sometimes the patch just wasn't right. sometimes it fixed this very narrow. we talked about being very goal-directed, and we fixed this one particular crash that the test case did, but it didn't fix something more general. sometimes it's not aware of context of what's going on in the code base. there didn't seem to be one trick that we could do that would make it such that these patches are automatically. landable, essentially. but the workflow that we have is we have an expert browser engineer who gets the bug report, looks at it, looks at all of the evidence, including the fixed patch, and then will generate a patch, get a review from another engineer, and get it landed. i've been really impressed and maybe a little surprised, although not that much, that the team has been able to keep up with the rate of discovery. that we've had this year.

当然,在这个流程中,我们会创建一个修复漏洞的补丁。 这是附在漏洞报告上的一项有用材料,可以和漏洞描述一起提供。 我们通常发现,光靠这些补丁还不足以……直接合并。 有时它们确实可以直接合并,有时也只差一点,有时则不行。 原因可谓五花八门。 有时补丁本身就不对。 有时它修复得过于狭窄。 我们之前谈过要非常有针对性:我们修复了测试用例触发的某个特定崩溃,但没有解决更普遍的问题。 有时它不了解代码库中正在发生的事情。 似乎没有什么诀窍能让这些补丁自动…… 直接合并,基本上就是这样。 但我们的工作流程是:一位资深浏览器工程师收到漏洞报告后,会查看报告和所有证据,包括修复补丁,然后生成一个补丁,请另一位工程师审核,最后将其合并。 团队能够跟上漏洞发现的速度,真的让我印象深刻,可能也有点惊讶,不过倒也没那么惊讶。 我们今年的发现速度就是这么快。

说话人 0

i think you were comparing the bugs you found this year versus last year. and yeah, what's that look like?

我记得你在比较今年和去年的漏洞发现数量。 那实际情况如何?

说话人 1

yeah, we're on the order of an 8x increase right now from 2025 to 2026 for both discovery and importantly for fixes.

是的,从2025年到2026年,目前无论是漏洞发现还是更重要的修复数量,都增长了大约8倍。

说话人 0

so you've described your overall agentic security pipeline, which is super cool. you also described a agentic vulnerability workbench that a security engineer can use. i was wondering, could you. Show us a bit what that looks like.

你刚才介绍了整体的智能体安全流水线,真是太酷了。 你还介绍了一个智能体式漏洞工作台,安全工程师可以使用它。 我想知道,你能不能…… 给我们稍微演示一下它是什么样的吗?

说话人 1

Yeah, I've got a sort of demo version of it here. Kind of shows the workflow that we use. A few months in, we decided to start ingesting all of these signals into a single SQL light file on the red team engineer's machine. And so this is signals coming from. all the runs we've done, all the bugs that are joined with those, all of the comments coming in from engineers. and it's really powerful because then you can just ask questions to a coding agent. there are a few examples that i've pulled out of typical workflows that the security team might be doing that really then helps accelerate improvements and sort of bring it back in to the harness so that we're continuously improving the whole system. so one simple example is planning the next scanning batch. i mentioned earlier, the initial way we did this is we had a strict set of rules. you know, if you haven't scanned this file in n days and it has this risk score, then put it in the pile. but we found that actually just giving the coding agent access to this database is quite effective. we'd say, maybe we got a hint from an engineer on slack, hey, can you look in this component? you can just ask it, can you find code that's kind of like this that we probably should scan? and it'll run sql queries to go figure out some of the things that we previously had hard-coded rules for. it will, when necessary, go pull the actual raw traces from files. so maybe it saw that you had scanned this particular file or variant, but something might have gone wrong in the scan. it can work through all of this data and come up with, you know, essentially a proposal. of what are we going to run next? and then the engineer can look at it and say, yep, that makes sense. let's kick it off. here's another simple one is just improving the harness itself. and so why did some runs have some issues? go figure it out. and it can go, you know, pull the raw logs. it can go look at it. we actually do this thing where we ask the agent to write a file called blockers. yaml if it encountered some kind of problem in its environment. And so in this case, it might be missing a system dependency that it needed to run the test. And so we want to give it an outlet to just tell us, rather than trying to do some wild work around for that. That can get ingested back into this workbench, and then we can know, oh, we need to update the VM image to have this dependency, for example.

可以,我这里有一个演示版。 大致展示了我们使用的工作流程。 几个月后,我们决定开始把所有这些信号都汇总到红队工程师机器上的一个 SQLite 文件里。 这些信号来自…… 我们执行过的所有扫描,以及与之关联的所有漏洞,还有工程师们提交的所有评论。 这非常强大,因为这样你就可以直接向编码智能体提问。 我从安全团队可能会执行的典型工作流程中挑出了几个例子,这些做法确实有助于加快改进,并把改进反馈到测试框架中,让整个系统不断完善。 一个简单的例子是规划下一批扫描任务。 我之前提过,我们最初采用的是一套严格的规则。 比如,如果某个文件已经 n 天没扫描过,而且它的风险评分达到这个标准,那就把它列入待处理清单。 但我们发现,直接让编码智能体访问这个数据库,其实很有效。 比如我们可能从 Slack 上收到工程师的提示:“嘿,能看看这个组件吗?” 你可以直接问它:“能不能找出一些和这个类似、可能应该扫描的代码?” 它会运行 SQL 查询,找出一些以前需要靠硬编码规则才能判断的内容。 必要时,它还会从文件中调取实际的原始跟踪记录。 它可能发现你扫描过某个特定文件或变体,但扫描过程中出了问题。 它可以梳理所有这些数据,并提出一个方案。 接下来我们要运行什么? 然后工程师可以查看它,说:嗯,确实有道理。 我们开始吧。 另一个简单的例子,就是改进测试框架本身。 那么,为什么有些运行会出问题呢? 去查清楚。 它可以去调取原始日志。 它可以去查看日志。 我们实际上会让智能体写一个名为 blockers 的文件。 如果它在运行环境中遇到某种问题,就写入 blockers.yaml。 所以在这种情况下,它可能缺少运行测试所需的某项系统依赖。 因此,我们希望给它一个渠道,让它直接告诉我们,而不是试图用一些复杂的权宜之计来解决。 这些信息可以被导入这个工作台,然后我们就能知道,比如说,我们需要更新虚拟机镜像,加入这项依赖。

说话人 0

Looking forward, what are you and the team excited about?

展望未来,你和团队最期待什么?

说话人 1

We've been really excited about this. New ability to sort of discover bugs at scale, you know, improving fixed patches and doing anything that we can to make it easier for the team. But I would say big picture. you know, we're pretty optimistic. like every bug that we fix is gone, right? and we are adding commit scanning, so hopefully we're introducing fewer going forward. i know it's quite ambitious, but, you know, we want to have zero bugs, and that's sort of the guiding light out towards the future. but we're overall very excited about using these latest cyber models to help secure firefox and get fixes out to millions of users.

我们对这件事一直非常兴奋。 比如说,获得大规模发现漏洞的新能力、改进修复补丁,以及尽一切所能让团队的工作更轻松。 不过从宏观角度来说, 我们相当乐观。 我们修复的每个漏洞都会就此消失,对吧? 而且我们正在加入提交扫描功能,所以希望今后引入的漏洞会更少。 我知道这目标相当宏大,但你知道,我们希望做到零漏洞,而这正是指引我们迈向未来的明灯。 不过,总的来说,我们非常期待利用这些最新的网络安全模型来保护 Firefox,并向数百万用户推出修复更新。

摘要

Mozilla 将多年积累的漏洞赏金、模糊测试、内部研究和快速修复能力,与可调用现有工具链的 AI 智能体结合,构建了从风险选点、漏洞发现、动态验证到工程师修复的安全流程。流程通过模型评分挑选扫描目标,并要求发现结果经过确定性复现和独立复核;随着漏洞发现量上升,去重和优先级判断也成为新瓶颈。变体扫描能从已知漏洞模式中寻找更多问题,模型还可能揭示原本被评为低危的漏洞可绕过安全加固。Mozilla 称 2026 年发现与修复数量较 2025 年约增至 8 倍,同时仍由工程师审查并落地修复,目标是持续强化 Firefox 防御。

章节

00:14 Pwn2Own 演练与临赛漏洞修复

Mozilla 将年度 Pwn2Own 浏览器攻击竞赛视为真实在野严重漏洞事件的演练:研究人员会攻击 Firefox,团队借此练习应对。2026 年团队预期研究人员会使用智能体扫描工具,也知道年初可能已有大量漏洞,因此在多项针对 Firefox 的注册攻击到来前紧急修复。OpenAI 网络安全团队在赛事前提交了若干漏洞;Mozilla 修复并快速推送后发现,多个参赛提交正好利用了这些漏洞。团队由此认识到,不同模型即使扫描过相同代码,也可能找到不同问题;最终没有人成功攻破 Firefox。

本次演练的核心结果

01:57 多年安全基础设施为智能体提供工具

Mozilla 能利用新工具链,依靠的是多年积累:外部漏洞赏金计划持续接收研究人员提交,内部红队较早使用地址消毒器和模糊测试器,工程师也擅长跟踪漏洞并快速发布修复。已有的模糊测试、可调试构建和研究工具,使智能体能够启动 Firefox、测试潜在漏洞并快速迭代。智能体可以直接复用为内部与外部研究人员建立的工具链,而非从零另建。

口述示例:智能体使用既有工具测试并快速迭代

03:06 以风险评分安排扫描目标

安全流程首先要决定把智能体指向哪里。逐个按字母顺序扫描整个代码树不可行,因此 Mozilla 让大语言模型依据文件内容评估风险,包括是否暴露于网页内容、内存安全特征及其他风险模型,再结合扫描历史选出优先目标;最初的简单方案每次给出 50 个目标,曾有效发现容易发现的问题。评分还会结合 Mozilla 多年积累的浏览器威胁模型、工程技术文档和研究资料,以便结果符合实际风险,而不只是通用判断。随着容易发现的问题减少,目标选择也需要更灵活。

整体安全代理流水线架构
文件风险评分及历史信息列表
按重要性筛出的下一批50个扫描目标

05:05 智能体发现、复现与独立复核漏洞

每个智能体在独立虚拟机中获得 Firefox 源码、模糊测试工具链和指定目标,通过静态分析提出漏洞假设,再用动态测试检验;它也可能编写小型模糊测试器。流程要求有确定性验证,例如某个 HTML 文件加载后能使 Firefox 崩溃,才算找到目标漏洞。Mozilla 正在扩展对逻辑错误和沙箱问题的验证方式。为防止智能体篡改代码制造崩溃、仍通过自动门槛,验证后还会交给另一个智能体检查其行为并评估严重性。两层检查使误报率很低;验证报告还可附上智能体生成的修复补丁和测试。

用于确定性验证的 HTML 测试文件触发 Firefox 崩溃

07:59 发现量上升后,去重与分流成为瓶颈

当漏洞报告数量少时,团队可以立即处理每个报告;发现规模扩大后,优先级和去重才成为新的瓶颈。相似测试用例或相同崩溃栈不一定代表同一个漏洞:相似栈可能对应不同问题,栈相同也可能是不同漏洞。Mozilla 将报告放入本地数据库,让智能体尝试关联,并根据工程师反馈改进提示和工具。去重过松会给繁忙的工程团队制造无用工作,过严则可能漏掉漏洞。为降低误判风险,团队会在某项发现被标记为重复后,等对应漏洞修复进入代码库,再回头确认原发现确实不再成立。

将漏洞发现汇入本地数据库,供代理协助去重判断

11:17 重新评估漏洞严重性与安全加固

某些漏洞最初因需要特殊步骤或配置、看似难以升级利用,而被评为中低危;更强的网络安全模型可能找到绕过既有架构加固的方法,显示同一漏洞实际达到高危,因而需要重新排序处理。这样的分析既帮助团队把注意力放到更重要的问题上,也暴露安全控制未能提供预期保护的地方,为纵深防御和架构加固提供反馈。Mozilla 还会灵活调整扫描目标,针对类似问题快速运行测试;另一种用法是把积压的低优先级问题交给模型,检查能否组合成更严重的问题。

模型重新评估已知漏洞的严重性

13:43 变体扫描从已知漏洞模式寻找新问题

变体扫描会把已修复或尚未修复的漏洞打包给智能体,让它在代码库中寻找相似模式。Mozilla 曾把 2025 年修复的安全漏洞作为样本,搜索附近代码以及代码库其他位置的相似实现;有些模式在代码中存留已久。提交扫描则聚焦新提交的具体代码,范围较窄;变体扫描根据漏洞报告和修复提交作更广泛搜索。团队观察到,变体扫描已成为重要策略,在所述的一个月份中贡献了多数发现的漏洞,而且往往产生较少重复项。

按月统计漏洞发现比例,突出变体扫描在九月发现了大多数漏洞

15:43 工程师审查并落地修复,发现与修复约增八倍

智能体可以为发现的问题生成代码补丁和测试,但补丁有时不正确,只解决触发测试的狭窄情形,或缺少对代码库背景的理解,因此通常不能直接合并。实际流程由熟悉浏览器的工程师检查报告、证据和建议补丁,再生成合适修改并交由另一位工程师审查、落地。Mozilla 表示,团队跟上了增长速度:2026 年的漏洞发现量和修复量目前都比 2025 年约高 8 倍。

发现与修复数量从2025年到2026年约增八倍

17:20 安全工作台反馈扫描与工具链

Mozilla 把扫描运行记录、关联漏洞和工程师评论汇总到红队工程师机器上的 SQLite 数据库,再让编码智能体据此查询。例如,工程师可提供 Slack 上的组件线索,让智能体寻找相似代码并提出下一批扫描目标;智能体也能查询原始日志,分析运行故障。遇到环境问题时,智能体可写入 blockers.yaml 说明缺少的系统依赖,而不是尝试不可靠的绕行方案;这些信息回到工作台后,团队可以更新虚拟机镜像。这样的反馈循环既辅助安全工程师决策,也持续改进扫描工具链。

将扫描信号汇总到工程师机器上的 SQL 文件
编码代理查询数据库以确定需要扫描的代码
代理记录运行环境中遇到的问题
测试运行因缺少系统依赖受阻
将所需依赖更新到 VM 镜像

19:35 以持续修复和减少新漏洞为长期目标

Mozilla 希望继续扩大漏洞发现能力、改进修复补丁,并降低团队处理问题的难度。团队把每个已修复漏洞视为从系统中移除的问题,并加入提交扫描,以期减少新引入的漏洞;长期愿景是实现零漏洞,同时借助最新网络安全模型保护 Firefox 并把修复交付给数百万用户。

以消除漏洞为长期目标

结论

05:29 智能体安全流程必须把动态测试、确定性复现和独立复核结合起来,才能减少未经验证的漏洞报告。

08:39 扫描发现量扩大后,漏洞去重和优先级排序会成为新的工作瓶颈,并需要工程团队反馈校正。

11:38 更强的模型可能证明被认为低危的漏洞能够绕过架构加固,因此需要重新评估严重性并改进防御。

14:02 变体扫描能从已知漏洞模式出发,在更大范围代码中发现新问题,并已成为 Mozilla 漏洞发现策略的重要部分。

15:51 AI 生成的补丁能为工程师提供有用线索,但修复仍需专家审查、修改和同行评审后才能落地。

16:56 Mozilla 表示,2026 年漏洞发现与修复数量相较 2025 年均约增长八倍。