CyberGuardAI 安全情报工作区
AI 安全知识情报
LJH 管理员
返回首页 学术论文

判断正确,理由也正确吗?一项以执行结果为依据、研究大语言模型漏洞检测器是否理解漏洞的研究

摘要与解读

研究针对用LLM判断C/C++函数漏洞的场景:来源报告商业模型仍将许多经过筛选的修复版本判为有漏洞。若组织把这类判定直接用于修复验收,模型输出与实际执行行为之间的边界可能被忽略,导致已修复代码被误报并增加复核工作;此影响以实际采用类似检测流程为前提。

六维情报分析

6 个维度 · 原文可溯源

影响范围

  • 研究针对用LLM判断C/C++函数漏洞的场景:来源报告商业模型仍将许多经过筛选的修复版本判为有漏洞。若组织把这类判定直接用于修复验收,模型输出与实际执行行为之间的边界可能被忽略,导致已修复代码被误报并增加复核工作;此影响以实际采用类似检测流程为前提。

    原文依据 · 2

    中文译文

    将其视为检测器理解了自己所报告漏洞的证据。我们通过程序执行来检验这一解读。对于来自 BigVul 和 PrimeVul 的 515 个 C 和 C++ 函数,我们复现了其中的漏洞,并确定了故障发生的代码行以及导致故障的那次运行所依赖的语句。这些事实为五级测试提供了依据:从区分存在漏洞的函数与其修复版本,到定位故障并对移除故障作出反应,再到评判经执行验证的修改,以及预测一次具体运行的结果。每项测试都配有一个基础

    原文引文

    as evidence that they understand the vulnerabilities they report. We test this reading against program execution. For 515 C and C++ functions from BigVul and PrimeVul whose vulnerability we reproduce with a proof of concept, we identify the line at which the fault occurs and the statements on which the faulting run depended. These facts ground a ladder of five tests, from telling a vulnerable function from its fixed version, through locating the fault and reacting to its removal, to judging execution-confirmed edits and predicting the outcome of a concrete run. Each test is paired with a base
    查看原文 · v1

    中文译文

    配对结果多于偶然水平,尽管其中五个对修复表现出较弱的敏感性,而且商业模型仍将许多经过筛选的已修复版本标记为存在漏洞。第二,商业模型定位故障的能力超出了关键词规则,但移除相关证据后,只有在较新的漏洞上,最强模型的判断才会改变。第三,在给定程序输入的情况下,商业模型预测运行是否会发生故障的能力优于检查是否新增了校验的规则,而且预测会随输入变化。第四,在较新的漏洞上,这一优势消失了,最强模型的领先地位也……

    原文引文

    more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable. Second, the commercial models locate the fault beyond a keyword rule, while removing that evidence changes the verdicts of the strongest model only on the newer vulnerabilities. Third, given the program input, the commercial models predict whether a run faults better than a rule that looks for added checks, and the prediction follows the input. Fourth, on the newer vulnerabilities this advantage disappears and the lead of the strongest
    查看原文 · v1

关联资产

  • 原文明示的研究资产包括BigVul、PrimeVul的C/C++函数、漏洞与修复版本、概念验证所确认的故障执行,以及受测商业模型;未给出这些模型的产品名称或版本。适用对象是使用LLM审查同类代码并依据其输出判断漏洞或修复效果的流程;材料未提供本地资产清单。

    原文依据 · 2

    中文译文

    将其视为检测器理解了自己所报告漏洞的证据。我们通过程序执行来检验这一解读。对于来自 BigVul 和 PrimeVul 的 515 个 C 和 C++ 函数,我们复现了其中的漏洞,并确定了故障发生的代码行以及导致故障的那次运行所依赖的语句。这些事实为五级测试提供了依据:从区分存在漏洞的函数与其修复版本,到定位故障并对移除故障作出反应,再到评判经执行验证的修改,以及预测一次具体运行的结果。每项测试都配有一个基础

    原文引文

    as evidence that they understand the vulnerabilities they report. We test this reading against program execution. For 515 C and C++ functions from BigVul and PrimeVul whose vulnerability we reproduce with a proof of concept, we identify the line at which the fault occurs and the statements on which the faulting run depended. These facts ground a ladder of five tests, from telling a vulnerable function from its fixed version, through locating the fault and reacting to its removal, to judging execution-confirmed edits and predicting the outcome of a concrete run. Each test is paired with a base
    查看原文 · v1

    中文译文

    配对结果多于偶然水平,尽管其中五个对修复表现出较弱的敏感性,而且商业模型仍将许多经过筛选的已修复版本标记为存在漏洞。第二,商业模型定位故障的能力超出了关键词规则,但移除相关证据后,只有在较新的漏洞上,最强模型的判断才会改变。第三,在给定程序输入的情况下,商业模型预测运行是否会发生故障的能力优于检查是否新增了校验的规则,而且预测会随输入变化。第四,在较新的漏洞上,这一优势消失了,最强模型的领先地位也……

    原文引文

    more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable. Second, the commercial models locate the fault beyond a keyword rule, while removing that evidence changes the verdicts of the strongest model only on the newer vulnerabilities. Third, given the program input, the commercial models predict whether a run faults better than a rule that looks for added checks, and the prediction follows the input. Fourth, on the newer vulnerabilities this advantage disappears and the lead of the strongest
    查看原文 · v1

风险评估

  • 来源报告部分模型虽能区分漏洞与修复版本,但五个模型对修复变化的敏感性较弱;最强模型在移除故障相关证据后,仅对较新的漏洞改变判定。风险触发于将单次分类结果当作漏洞成因或修复效果的充分依据,防护应优先核对故障位置、所依赖语句及具体输入下的执行结果。

    原文依据 · 2

    中文译文

    将其视为检测器理解了自己所报告漏洞的证据。我们通过程序执行来检验这一解读。对于来自 BigVul 和 PrimeVul 的 515 个 C 和 C++ 函数,我们复现了其中的漏洞,并确定了故障发生的代码行以及导致故障的那次运行所依赖的语句。这些事实为五级测试提供了依据:从区分存在漏洞的函数与其修复版本,到定位故障并对移除故障作出反应,再到评判经执行验证的修改,以及预测一次具体运行的结果。每项测试都配有一个基础

    原文引文

    as evidence that they understand the vulnerabilities they report. We test this reading against program execution. For 515 C and C++ functions from BigVul and PrimeVul whose vulnerability we reproduce with a proof of concept, we identify the line at which the fault occurs and the statements on which the faulting run depended. These facts ground a ladder of five tests, from telling a vulnerable function from its fixed version, through locating the fault and reacting to its removal, to judging execution-confirmed edits and predicting the outcome of a concrete run. Each test is paired with a base
    查看原文 · v1

    中文译文

    配对结果多于偶然水平,尽管其中五个对修复表现出较弱的敏感性,而且商业模型仍将许多经过筛选的已修复版本标记为存在漏洞。第二,商业模型定位故障的能力超出了关键词规则,但移除相关证据后,只有在较新的漏洞上,最强模型的判断才会改变。第三,在给定程序输入的情况下,商业模型预测运行是否会发生故障的能力优于检查是否新增了校验的规则,而且预测会随输入变化。第四,在较新的漏洞上,这一优势消失了,最强模型的领先地位也……

    原文引文

    more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable. Second, the commercial models locate the fault beyond a keyword rule, while removing that evidence changes the verdicts of the strongest model only on the newer vulnerabilities. Third, given the program input, the commercial models predict whether a run faults better than a rule that looks for added checks, and the prediction follows the input. Fourth, on the newer vulnerabilities this advantage disappears and the lead of the strongest
    查看原文 · v1

相关研究

  • 研究对BigVul和PrimeVul中515个可通过概念验证复现漏洞的C/C++函数,识别故障发生行及故障执行依赖的语句,据此设计从区分漏洞与修复版本、定位故障,到判断经执行确认的修改和预测具体运行结果的五级测试;材料还报告与关键词规则、检查项规则的比较,重点检验判定是否契合执行机制。

    原文依据 · 2

    中文译文

    将其视为检测器理解了自己所报告漏洞的证据。我们通过程序执行来检验这一解读。对于来自 BigVul 和 PrimeVul 的 515 个 C 和 C++ 函数,我们复现了其中的漏洞,并确定了故障发生的代码行以及导致故障的那次运行所依赖的语句。这些事实为五级测试提供了依据:从区分存在漏洞的函数与其修复版本,到定位故障并对移除故障作出反应,再到评判经执行验证的修改,以及预测一次具体运行的结果。每项测试都配有一个基础

    原文引文

    as evidence that they understand the vulnerabilities they report. We test this reading against program execution. For 515 C and C++ functions from BigVul and PrimeVul whose vulnerability we reproduce with a proof of concept, we identify the line at which the fault occurs and the statements on which the faulting run depended. These facts ground a ladder of five tests, from telling a vulnerable function from its fixed version, through locating the fault and reacting to its removal, to judging execution-confirmed edits and predicting the outcome of a concrete run. Each test is paired with a base
    查看原文 · v1

    中文译文

    配对结果多于偶然水平,尽管其中五个对修复表现出较弱的敏感性,而且商业模型仍将许多经过筛选的已修复版本标记为存在漏洞。第二,商业模型定位故障的能力超出了关键词规则,但移除相关证据后,只有在较新的漏洞上,最强模型的判断才会改变。第三,在给定程序输入的情况下,商业模型预测运行是否会发生故障的能力优于检查是否新增了校验的规则,而且预测会随输入变化。第四,在较新的漏洞上,这一优势消失了,最强模型的领先地位也……

    原文引文

    more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable. Second, the commercial models locate the fault beyond a keyword rule, while removing that evidence changes the verdicts of the strongest model only on the newer vulnerabilities. Third, given the program input, the commercial models predict whether a run faults better than a rule that looks for added checks, and the prediction follows the input. Fourth, on the newer vulnerabilities this advantage disappears and the lead of the strongest
    查看原文 · v1

验证资料

  • 来源报告的实验范围为515个已复现漏洞的函数;商业模型定位故障优于关键词规则,在给定程序输入时预测故障也优于只看新增检查的规则,且预测随输入变化。不过,对较新的漏洞,后一优势消失。部署侧可按相同思路观察修复前后误报、故障行定位及不同输入下判定的一致性。

    原文依据 · 2

    中文译文

    将其视为检测器理解了自己所报告漏洞的证据。我们通过程序执行来检验这一解读。对于来自 BigVul 和 PrimeVul 的 515 个 C 和 C++ 函数,我们复现了其中的漏洞,并确定了故障发生的代码行以及导致故障的那次运行所依赖的语句。这些事实为五级测试提供了依据:从区分存在漏洞的函数与其修复版本,到定位故障并对移除故障作出反应,再到评判经执行验证的修改,以及预测一次具体运行的结果。每项测试都配有一个基础

    原文引文

    as evidence that they understand the vulnerabilities they report. We test this reading against program execution. For 515 C and C++ functions from BigVul and PrimeVul whose vulnerability we reproduce with a proof of concept, we identify the line at which the fault occurs and the statements on which the faulting run depended. These facts ground a ladder of five tests, from telling a vulnerable function from its fixed version, through locating the fault and reacting to its removal, to judging execution-confirmed edits and predicting the outcome of a concrete run. Each test is paired with a base
    查看原文 · v1

    中文译文

    配对结果多于偶然水平,尽管其中五个对修复表现出较弱的敏感性,而且商业模型仍将许多经过筛选的已修复版本标记为存在漏洞。第二,商业模型定位故障的能力超出了关键词规则,但移除相关证据后,只有在较新的漏洞上,最强模型的判断才会改变。第三,在给定程序输入的情况下,商业模型预测运行是否会发生故障的能力优于检查是否新增了校验的规则,而且预测会随输入变化。第四,在较新的漏洞上,这一优势消失了,最强模型的领先地位也……

    原文引文

    more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable. Second, the commercial models locate the fault beyond a keyword rule, while removing that evidence changes the verdicts of the strongest model only on the newer vulnerabilities. Third, given the program input, the commercial models predict whether a run faults better than a rule that looks for added checks, and the prediction follows the input. Fourth, on the newer vulnerabilities this advantage disappears and the lead of the strongest
    查看原文 · v1

处置建议

  • 建议先识别是否把LLM判定用于C/C++漏洞分诊或修复验收;若使用,应对被判有漏洞的修复版本安排人工复核,再以故障行、执行依赖语句和具体输入下的运行结果交叉检查模型理由。随后将新旧漏洞、修复前后版本分开记录误报与判定变化,用于回归评估;这一顺序针对来源报告的修复敏感性和新漏洞表现差异。

    原文依据 · 2

    中文译文

    将其视为检测器理解了自己所报告漏洞的证据。我们通过程序执行来检验这一解读。对于来自 BigVul 和 PrimeVul 的 515 个 C 和 C++ 函数,我们复现了其中的漏洞,并确定了故障发生的代码行以及导致故障的那次运行所依赖的语句。这些事实为五级测试提供了依据:从区分存在漏洞的函数与其修复版本,到定位故障并对移除故障作出反应,再到评判经执行验证的修改,以及预测一次具体运行的结果。每项测试都配有一个基础

    原文引文

    as evidence that they understand the vulnerabilities they report. We test this reading against program execution. For 515 C and C++ functions from BigVul and PrimeVul whose vulnerability we reproduce with a proof of concept, we identify the line at which the fault occurs and the statements on which the faulting run depended. These facts ground a ladder of five tests, from telling a vulnerable function from its fixed version, through locating the fault and reacting to its removal, to judging execution-confirmed edits and predicting the outcome of a concrete run. Each test is paired with a base
    查看原文 · v1

    中文译文

    配对结果多于偶然水平,尽管其中五个对修复表现出较弱的敏感性,而且商业模型仍将许多经过筛选的已修复版本标记为存在漏洞。第二,商业模型定位故障的能力超出了关键词规则,但移除相关证据后,只有在较新的漏洞上,最强模型的判断才会改变。第三,在给定程序输入的情况下,商业模型预测运行是否会发生故障的能力优于检查是否新增了校验的规则,而且预测会随输入变化。第四,在较新的漏洞上,这一优势消失了,最强模型的领先地位也……

    原文引文

    more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable. Second, the commercial models locate the fault beyond a keyword rule, while removing that evidence changes the verdicts of the strongest model only on the newer vulnerabilities. Third, given the program input, the commercial models predict whether a run faults better than a rule that looks for added checks, and the prediction follows the input. Fourth, on the newer vulnerabilities this advantage disappears and the lead of the strongest
    查看原文 · v1
模型与引文记录
模型
gpt-6-sol
生成时间
记录编号
REQ-7cb7714514a242109ec270a4bbdd8be2
分析原文
查看原文 · v1

图片与附件

1 项关联材料
  • cs.CR已归档 · 231.2 KB
    采集与来源记录
    文件名称
    cs.CR
    记录大小
    236764 字节
    文件格式
    text/plain
    关联登记时间
    2026-12-03 04:19 UTC
    关联原文
    v1
    保存时校验
    37e7233bf7abf3980c8e9769c64ec58ebd11b0d01032f92d74507c5d9c99ec4a

资料档案

文献来源与参考链接

当前保存的来源版本 · v1

文献与标准标识
arxiv:2611.28584
采集来源格式
arxiv_feed_metadata
结构化格式
arxiv_rss
原始标题与分类记录

Right Verdict, Right Reason? An Execution-Grounded Study of Whether LLM Vulnerability Detectors Understand Vulnerabilities

研究方向
评测治理
影响维度
待人工确认
风险类型
供应链风险
相关技术
LLM

当前为离线关键词规则模式。

分类规则与原始字段
评测治理 · benchmark
increasingly used to detect vulnerabilities, and their benchmark scores are often read as evidence that they understand the vulnerabilities they report. We test thi
供应链风险 · vulnerability
ght Reason? An Execution-Grounded Study of Whether LLM Vulnerability Detectors Understand Vulnerabilities arXiv:2611.28584v2 Announce Type: replace-cross Abstract: Lar
LLM · llm
, Right Reason? An Execution-Grounded Study of Whether LLM Vulnerability Detectors Understand Vulnerabilities arXiv:2611.28584v2 Announce Type: replace-cross
{
  "ai_relevance": {
    "evidence": [
      {
        "end_offset": 71,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 68
      },
      {
        "end_offset": 203,
        "location": "title_and_content",
        "quote": "Large language models",
        "rule": "ai_term",
        "start_offset": 182
      },
      {
        "end_offset": 209,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 205
      }
    ],
    "matches": [
      {
        "end_offset": 71,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 68
      },
      {
        "end_offset": 203,
        "location": "title_and_content",
        "quote": "Large language models",
        "rule": "ai_term",
        "start_offset": 182
      },
      {
        "end_offset": 209,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 205
      }
    ],
    "method": "explainable_keyword_rules",
    "reason": "Matched AI topic or component evidence",
    "relevant": true
  },
  "entity_ids": [],
  "facts": [],
  "method": "source_grounded_extraction",
  "unknown_fields": [
    "affected_products",
    "affected_versions",
    "fixed_versions",
    "cvss",
    "mitigations",
    "references",
    "papers",
    "poc"
  ]
}
原始采集文本
arXiv:2611.28584v2 Announce Type: replace-cross 
Abstract: Large language models (LLMs) are increasingly used to detect vulnerabilities, and their benchmark scores are often read as evidence that they understand the vulnerabilities they report. We test this reading against program execution. For 515 C and C++ functions from BigVul and PrimeVul whose vulnerability we reproduce with a proof of concept, we identify the line at which the fault occurs and the statements on which the faulting run depended. These facts ground a ladder of five tests, from telling a vulnerable function from its fixed version, through locating the fault and reacting to its removal, to judging execution-confirmed edits and predicting the outcome of a concrete run. Each test is paired with a baseline that needs no understanding, such as a rule that picks lines with risky calls, and we repeat the study on 195 vulnerabilities published after the training cutoffs of the models. Four findings emerge. First, telling a vulnerable function from its fixed version is hard. The open-weight models separate no more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable. Second, the commercial models locate the fault beyond a keyword rule, while removing that evidence changes the verdicts of the strongest model only on the newer vulnerabilities. Third, given the program input, the commercial models predict whether a run faults better than a rule that looks for added checks, and the prediction follows the input. Fourth, on the newer vulnerabilities this advantage disappears and the lead of the strongest model narrows, while localization persists. We release the framework, the per-function evidence, and an execution-confirmed counterfactual benchmark.
采集信息与校验
完整来源元数据
{
  "authors": [],
  "content_level": "feed_metadata",
  "feed_url": "https://rss.arxiv.org/rss/cs.CR",
  "identifiers": [
    "arxiv:2611.28584"
  ],
  "source_updated_at": ""
}
{
  "format": "arxiv_rss",
  "source_format": "arxiv_feed_metadata"
}
原文版本历史与校验
版本入库更新时间来源发布日期校验标识
v1 · 正在查看2026-12-02 07:42 UTC2026-12-02 05:00 UTCbe0d7df89cfc5984316096571fb3dd7eb787d10056f78da0611a67286d87e57f
可引用分片 · 2 段

CHK-0056940f83aceecf7f314096

arXiv:2611.28584v2 Announce Type: replace-cross 
Abstract: Large language models (LLMs) are increasingly used to detect vulnerabilities, and their benchmark scores are often read as evidence that they understand the vulnerabilities they report. We test this reading against program execution. For 515 C and C++ functions from BigVul and PrimeVul whose vulnerability we reproduce with a proof of concept, we identify the line at which the fault occurs and the statements on which the faulting run depended. These facts ground a ladder of five tests, from telling a vulnerable function from its fixed version, through locating the fault and reacting to its removal, to judging execution-confirmed edits and predicting the outcome of a concrete run. Each test is paired with a baseline that needs no understanding, such as a rule that picks lines with risky calls, and we repeat the study on 195 vulnerabilities published after the training cutoffs of the models. Four findings emerge. First, telling a vulnerable function from its fixed version is hard. The open-weight models separate no more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable.

CHK-e1f1c242c04d43a4c34d69dd

more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable. Second, the commercial models locate the fault beyond a keyword rule, while removing that evidence changes the verdicts of the strongest model only on the newer vulnerabilities. Third, given the program input, the commercial models predict whether a run faults better than a rule that looks for added checks, and the prediction follows the input. Fourth, on the newer vulnerabilities this advantage disappears and the lead of the strongest model narrows, while localization persists. We release the framework, the per-function evidence, and an execution-confirmed counterfactual benchmark.
补充资料

中文译文

arXiv:2611.28584v2 公告类型:replace-cross 摘要:大型语言模型(LLM)越来越多地被用于检测漏洞,其基准测试分数也常被视为它们理解所报告漏洞的证据。我们通过程序执行来检验这一解读。对于来自 BigVul 和 PrimeVul、且其漏洞已通过概念验证复现的 515 个 C 和 C++ 函数,我们确定了故障发生的代码行,以及发生故障的运行所依赖的语句。这些事实构成了五级测试的依据:从区分有漏洞的函数及其修复版本,到定位故障并对故障被移除作出反应,再到判断经执行验证的修改以及预测某次具体运行的结果。每项测试都配有一个无需理解漏洞的基线,例如优先选取包含高风险调用的代码行的规则;我们还在 195 个发表于训练截止时间之后的漏洞上重复了这项研究,

这些模型。研究得出四项发现。第一,区分存在漏洞的函数及其修复版本很困难。开放权重模型区分这类配对的表现不超过随机水平,尽管其中五个模型对修复表现出微弱的敏感性;商业模型仍将许多经过筛选的修复版本标记为存在漏洞。第二,商业模型定位故障的能力超出了关键词规则,但移除相关证据后,只有在较新的漏洞上,最强模型的判断才发生变化。第三,在给定程序输入的情况下,商业模型对一次运行是否会发生故障的预测,优于只查看新增检查的规则,而且预测会随输入变化。第四,对于较新的漏洞,这种优势消失了,最强模型的领先幅度缩小,但其定位能力仍然存在。我们发布了该框架、逐函数的证据,以及经执行验证的反事实基准。

已采集原文

访问来源网页

arXiv:2611.28584v2 Announce Type: replace-cross Abstract: Large language models (LLMs) are increasingly used to detect vulnerabilities, and their benchmark scores are often read as evidence that they understand the vulnerabilities they report. We test this reading against program execution. For 515 C and C++ functions from BigVul and PrimeVul whose vulnerability we reproduce with a proof of concept, we identify the line at which the fault occurs and the statements on which the faulting run depended. These facts ground a ladder of five tests, from telling a vulnerable function from its fixed version, through locating the fault and reacting to its removal, to judging execution-confirmed edits and predicting the outcome of a concrete run. Each test is paired with a baseline that needs no understanding, such as a rule that picks lines with risky calls, and we repeat the study on 195 vulnerabilities published after the training cutoffs of the models. Four findings emerge. First, telling a vulnerable function from its fixed version is hard. The open-weight models separate no more pairs than chance, although five of them show a weak sensitivity to the fix, and the commercial models still label many screened fixed versions vulnerable. Second, the commercial models locate the fault beyond a keyword rule, while removing that evidence changes the verdicts of the strongest model only on the newer vulnerabilities. Third, given the program input, the commercial models predict whether a run faults better than a rule that looks for added checks, and the prediction follows the input. Fourth, on the newer vulnerabilities this advantage disappears and the lead of the strongest model narrows, while localization persists. We release the framework, the per-function evidence, and an execution-confirmed counterfactual benchmark.

原文依据