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

PQCImplement-Bench:评估大语言模型在生产环境密码学库中实现 NIST 后量子标准的能力

摘要与解读

论文关注编码代理为现有密码库实现 NIST 后量子标准的补丁。若将代理产出的补丁直接纳入生产库,受影响的是依赖该库实现的应用;关键边界是从生成的代码进入经审查的密码实现。来源将库内正确性与另一类测试结果分开评估,因此库内测试表现应结合接口要求及独立测试结果判断。

六维情报分析

6 个维度 · 原文可溯源

影响范围

  • 论文关注编码代理为现有密码库实现 NIST 后量子标准的补丁。若将代理产出的补丁直接纳入生产库,受影响的是依赖该库实现的应用;关键边界是从生成的代码进入经审查的密码实现。来源将库内正确性与另一类测试结果分开评估,因此库内测试表现应结合接口要求及独立测试结果判断。

    原文依据 · 2

    中文译文

    SLH-DSA(FIPS 203–205)是密码学库必须实现的替代方案。编码智能体能否将此类标准转化为现有库中可运行且符合规范的补丁,仍有待研究。本文提出 PQCImplement-Bench:一个包含 15 项任务的基准,任务源自九个代码仓库、七种编程语言中的 14 个拉取请求。每项任务都将变更前的仓库快照与经过审查的需求及接口规范配对。该基准使用两个独立的测试判定机制评估补丁,以区分仓库内部的正确性与……

    原文引文

    SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from co
    查看原文 · v1

    中文译文

    代码仓库测试。加入接口规范后,GPT-6.1-Sol 的通过率升至 100%,Kimi K3.1 Pro 达到 55.8%,GLM-5.3-FlashX 达到 6.7%。在代码仓库测试中,三个模型的平均通过率分别为 93.7%、52.4% 和 0.0%。我们发布数据集和评估框架,供未来研究使用。

    原文引文

    epository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.
    查看原文 · v1

关联资产

  • 原文明示的关联对象包括现有生产密码库、编码代理、NIST 后量子标准实现任务,以及 GPT-6.1-Sol、Kimi K3.1 Pro、GLM-5.3-FlashX;研究材料还涉及仓库快照、需求与接口规范、两类测试。适用条件是团队用编码代理为密码库编写此类补丁;摘录未列出具体库名或受影响版本。

    原文依据 · 2

    中文译文

    SLH-DSA(FIPS 203–205)是密码学库必须实现的替代方案。编码智能体能否将此类标准转化为现有库中可运行且符合规范的补丁,仍有待研究。本文提出 PQCImplement-Bench:一个包含 15 项任务的基准,任务源自九个代码仓库、七种编程语言中的 14 个拉取请求。每项任务都将变更前的仓库快照与经过审查的需求及接口规范配对。该基准使用两个独立的测试判定机制评估补丁,以区分仓库内部的正确性与……

    原文引文

    SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from co
    查看原文 · v1

    中文译文

    代码仓库测试。加入接口规范后,GPT-6.1-Sol 的通过率升至 100%,Kimi K3.1 Pro 达到 55.8%,GLM-5.3-FlashX 达到 6.7%。在代码仓库测试中,三个模型的平均通过率分别为 93.7%、52.4% 和 0.0%。我们发布数据集和评估框架,供未来研究使用。

    原文引文

    epository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.
    查看原文 · v1

风险评估

  • 已报道的风险来自实现任务与评估口径:论文使用两类独立测试,并报告三个模型在仓库测试中的平均通过率为93.7%、52.4%和0.0%。当团队仅凭代理生成结果或单类测试决定合入时,应优先防范实现错误进入密码库;这些数字对应基准任务,具体部署仍需按其要求核查。

    原文依据 · 2

    中文译文

    SLH-DSA(FIPS 203–205)是密码学库必须实现的替代方案。编码智能体能否将此类标准转化为现有库中可运行且符合规范的补丁,仍有待研究。本文提出 PQCImplement-Bench:一个包含 15 项任务的基准,任务源自九个代码仓库、七种编程语言中的 14 个拉取请求。每项任务都将变更前的仓库快照与经过审查的需求及接口规范配对。该基准使用两个独立的测试判定机制评估补丁,以区分仓库内部的正确性与……

    原文引文

    SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from co
    查看原文 · v1

    中文译文

    代码仓库测试。加入接口规范后,GPT-6.1-Sol 的通过率升至 100%,Kimi K3.1 Pro 达到 55.8%,GLM-5.3-FlashX 达到 6.7%。在代码仓库测试中,三个模型的平均通过率分别为 93.7%、52.4% 和 0.0%。我们发布数据集和评估框架,供未来研究使用。

    原文引文

    epository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.
    查看原文 · v1

相关研究

  • PQCImplement-Bench 将九个仓库、七种编程语言中的14个拉取请求整理为15项任务,每项配有修改前仓库快照和经审查的需求与接口规范;论文以两类独立测试评估补丁,并发布数据集及评估框架。这些摘录提供了该研究的方法与结果,未给出其他相关研究的具体内容。

    原文依据 · 2

    中文译文

    SLH-DSA(FIPS 203–205)是密码学库必须实现的替代方案。编码智能体能否将此类标准转化为现有库中可运行且符合规范的补丁,仍有待研究。本文提出 PQCImplement-Bench:一个包含 15 项任务的基准,任务源自九个代码仓库、七种编程语言中的 14 个拉取请求。每项任务都将变更前的仓库快照与经过审查的需求及接口规范配对。该基准使用两个独立的测试判定机制评估补丁,以区分仓库内部的正确性与……

    原文引文

    SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from co
    查看原文 · v1

    中文译文

    代码仓库测试。加入接口规范后,GPT-6.1-Sol 的通过率升至 100%,Kimi K3.1 Pro 达到 55.8%,GLM-5.3-FlashX 达到 6.7%。在代码仓库测试中,三个模型的平均通过率分别为 93.7%、52.4% 和 0.0%。我们发布数据集和评估框架,供未来研究使用。

    原文引文

    epository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.
    查看原文 · v1

验证资料

  • 来源报告,加入接口规范后,GPT-6.1-Sol、Kimi K3.1 Pro、GLM-5.3-FlashX 的通过率分别为100%、55.8%、6.7%;三者在仓库测试中的平均通过率分别为93.7%、52.4%、0.0%。评估对象是基准中的补丁任务;实际审查可分别记录接口要求与仓库测试的结果,并追踪失败项目。

    原文依据 · 2

    中文译文

    SLH-DSA(FIPS 203–205)是密码学库必须实现的替代方案。编码智能体能否将此类标准转化为现有库中可运行且符合规范的补丁,仍有待研究。本文提出 PQCImplement-Bench:一个包含 15 项任务的基准,任务源自九个代码仓库、七种编程语言中的 14 个拉取请求。每项任务都将变更前的仓库快照与经过审查的需求及接口规范配对。该基准使用两个独立的测试判定机制评估补丁,以区分仓库内部的正确性与……

    原文引文

    SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from co
    查看原文 · v1

    中文译文

    代码仓库测试。加入接口规范后,GPT-6.1-Sol 的通过率升至 100%,Kimi K3.1 Pro 达到 55.8%,GLM-5.3-FlashX 达到 6.7%。在代码仓库测试中,三个模型的平均通过率分别为 93.7%、52.4% 和 0.0%。我们发布数据集和评估框架,供未来研究使用。

    原文引文

    epository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.
    查看原文 · v1

处置建议

  • 先梳理正在由编码代理修改的后量子密码库及其接口要求,合入前由维护者核对需求和实现;随后分别运行接口相关检查与仓库测试,记录失败项并回归验证。此顺序对应论文按规范组织任务、用独立测试评估补丁的做法,也回应了模型间仓库测试结果差异。

    原文依据 · 2

    中文译文

    SLH-DSA(FIPS 203–205)是密码学库必须实现的替代方案。编码智能体能否将此类标准转化为现有库中可运行且符合规范的补丁,仍有待研究。本文提出 PQCImplement-Bench:一个包含 15 项任务的基准,任务源自九个代码仓库、七种编程语言中的 14 个拉取请求。每项任务都将变更前的仓库快照与经过审查的需求及接口规范配对。该基准使用两个独立的测试判定机制评估补丁,以区分仓库内部的正确性与……

    原文引文

    SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from co
    查看原文 · v1

    中文译文

    代码仓库测试。加入接口规范后,GPT-6.1-Sol 的通过率升至 100%,Kimi K3.1 Pro 达到 55.8%,GLM-5.3-FlashX 达到 6.7%。在代码仓库测试中,三个模型的平均通过率分别为 93.7%、52.4% 和 0.0%。我们发布数据集和评估框架,供未来研究使用。

    原文引文

    epository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.
    查看原文 · v1
模型与引文记录
模型
gpt-6-sol
生成时间
记录编号
REQ-dcef92529156496c8711898fec6faa25
分析原文
查看原文 · v1

图片与附件

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

资料档案

文献来源与参考链接

当前保存的来源版本 · v1

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

PQCImplement-Bench: Evaluating LLMs on Implementing NIST Post-Quantum Standards in Production Cryptographic Libraries

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

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

分类规则与原始字段
评测治理 · benchmark
ing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming la
{
  "ai_relevance": {
    "evidence": [
      {
        "end_offset": 35,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 31
      }
    ],
    "matches": [
      {
        "end_offset": 35,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 31
      }
    ],
    "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:2612.03088v1 Announce Type: new 
Abstract: A large-scale quantum computer would break the public-key cryptography that protects today's communications, and NIST has standardized ML-KEM, ML-DSA, and SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from conformance to the standard. One oracle consists of relevant repository tests, and the other consists of NIST validation vectors for each standard. We evaluate three models, GPT-6.1-Sol, Kimi K3.1 Pro, and GLM-5.3-FlashX in OpenHands. Given only the problem statement, GPT-6.1-Sol reaches a mean pass rate of 29.0% on the validation vectors and 18.9% on repository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.
采集信息与校验
完整来源元数据
{
  "authors": [],
  "content_level": "feed_metadata",
  "feed_url": "https://rss.arxiv.org/rss/cs.CR",
  "identifiers": [
    "arxiv:2612.03088"
  ],
  "source_updated_at": ""
}
{
  "format": "arxiv_rss",
  "source_format": "arxiv_feed_metadata"
}
原文版本历史与校验
版本入库更新时间来源发布日期校验标识
v1 · 正在查看2026-12-03 06:09 UTC2026-12-03 05:00 UTC11da63e04f16aa9f45bcf195dfecb216f16f3a17e4c8046b5c5e579e41fc6818
可引用分片 · 2 段

CHK-49617f209e3a38a82b35b2e4

arXiv:2612.03088v1 Announce Type: new 
Abstract: A large-scale quantum computer would break the public-key cryptography that protects today's communications, and NIST has standardized ML-KEM, ML-DSA, and SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from conformance to the standard. One oracle consists of relevant repository tests, and the other consists of NIST validation vectors for each standard. We evaluate three models, GPT-6.1-Sol, Kimi K3.1 Pro, and GLM-5.3-FlashX in OpenHands. Given only the problem statement, GPT-6.1-Sol reaches a mean pass rate of 29.0% on the validation vectors and 18.9% on repository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%.

CHK-8bea1cd36395f3787a9a3b07

epository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.
补充资料

中文译文

arXiv:2612.03088v1 公告类型:新论文 摘要:大规模量子计算机将破解保护当今通信的公钥密码学,而 NIST 已将 ML-KEM、ML-DSA 和 SLH-DSA(FIPS 203-205)标准化,作为密码学库必须实现的替代方案。编码智能体能否将此类标准转化为现有库中可运行且符合标准的补丁,仍有待研究。本文提出 PQCImplement-Bench,这是一个包含 15 项任务的基准测试,任务源自九个代码仓库、七种编程语言中的 14 个拉取请求;每项任务都将修改前的代码仓库快照与经过审查的需求和接口规范配对。该基准使用两个独立的测试判定机制评估补丁,以区分代码仓库内部的正确性与对标准的符合程度。其中一个使用相关的代码仓库测试,另一个使用针对各项标准的 NIST 验证向量。

我们在 OpenHands 中评估了三个模型:GPT-6.1-Sol、Kimi K3.1 Pro 和 GLM-5.3-FlashX。仅提供问题陈述时,GPT-6.1-Sol 在验证向量上的平均通过率为 29.0%,在代码仓库测试中的平均通过率为 18.9%。加入接口规范后,GPT-6.1-Sol 的通过率升至 100%,Kimi K3.1 Pro 达到 55.8%,GLM-5.3-FlashX 达到 6.7%。在代码仓库测试中,三个模型的平均通过率分别为 93.7%、52.4% 和 0.0%。我们发布了数据集和评估框架,供未来研究使用。

已采集原文

访问来源网页

arXiv:2612.03088v1 Announce Type: new Abstract: A large-scale quantum computer would break the public-key cryptography that protects today's communications, and NIST has standardized ML-KEM, ML-DSA, and SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from conformance to the standard. One oracle consists of relevant repository tests, and the other consists of NIST validation vectors for each standard. We evaluate three models, GPT-6.1-Sol, Kimi K3.1 Pro, and GLM-5.3-FlashX in OpenHands. Given only the problem statement, GPT-6.1-Sol reaches a mean pass rate of 29.0% on the validation vectors and 18.9% on repository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.

原文依据