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

SCDBench:面向基于LLM的智能合约反编译器的基准

摘要与解读

SCDBench基准评估LLM智能合约反编译,最佳前沿模型仅完全反编译600份合约中的42份。

六维情报分析

6 个维度 · 原文可溯源

影响范围

  • 来源报告指出,LLM 生成的类 Solidity 源码可能通过编译且表面合理,但语义与原合约偏离,因此影响对象是依赖反编译结果开展区块链安全审计与透明性工作的团队,以及使用 LLM 反编译器的评估流程。后果是:若仅以可编译性判断质量,可能把语义不一致的产物当作可信源码;必要条件包括使用 SCDBench 这类统一数据集与语义一致性检查,并明确“编译通过”与“语义正确”之间的信任边界。

    原文依据 · 2

    中文译文

    arXiv:2605.29059v2 公告类型:替换交叉 摘要:智能合约反编译旨在从字节码中恢复高级源代码,但评估反编译器仍然困难,因为现有研究使用范围狭窄的数据集、不一致的指标,以及有限的语义一致性检查。随着大型语言模型(LLM)开始生成类似源代码的 Solidity,这一差距愈发重要;这些代码可能可以编译且看似合理,即使其语义偏离原始合约。我们提出 SCDBench,这是一个用于基于 LLM 的智能合约反编译的基准数据集和评估方法

    原文引文

    arXiv:2605.29059v2 Announce Type: replace-cross Abstract: Smart contract decompilation aims to recover high-level source code from bytecode, but evaluating decompilers remains difficult because existing studies use narrow datasets, inconsistent metrics, and limited semantic consistency checks. This gap is increasingly important as large language models (LLMs) begin to generate source-like Solidity that may compile and appear plausible, even when its semantics diverge from the original contract. We introduce SCDBench, a dataset and benchmark methodology for LLM-based smart contract decompilati
    查看原文 · v1

    中文译文

    可编译的 Solidity,但要实现语义一致性仍远未解决:表现最佳的前沿模型只能完美反编译 600 个合约中的 42 个。我们进一步表明,引入同一模型的编译修复可以显著提升性能,且额外成本适中。SCDBench 为严格、可复现的评估建立了共同基础,旨在加速开发可靠的智能合约反编译器,以提升区块链安全性和透明度。

    原文引文

    compilable Solidity, but achieving semantic consistency remains far from solved: the best-performing frontier model perfectly decompiles only 42/600 contracts. We further show that introducing same-model compilation repair substantially improves performance at modest additional cost. SCDBench establishes a common ground for rigorous, reproducible evaluation and aims to accelerate the development of reliable smart contract decompilers for blockchain security and transparency.
    查看原文 · v1

关联资产

  • 原文明确关联的资产类型包括智能合约字节码、由字节码恢复的 Solidity 源码、LLM 反编译器及用于评估的数据集与基准方法 SCDBench。适用前提是处于 LLM 辅助反编译与区块链安全审计场景;来源未提供具体产品版本或部署条件,也未提供本地资产清单,因此不指向任何已匹配的本地资产。

    原文依据 · 2

    中文译文

    arXiv:2605.29059v2 公告类型:替换交叉 摘要:智能合约反编译旨在从字节码中恢复高级源代码,但评估反编译器仍然困难,因为现有研究使用范围狭窄的数据集、不一致的指标,以及有限的语义一致性检查。随着大型语言模型(LLM)开始生成类似源代码的 Solidity,这一差距愈发重要;这些代码可能可以编译且看似合理,即使其语义偏离原始合约。我们提出 SCDBench,这是一个用于基于 LLM 的智能合约反编译的基准数据集和评估方法

    原文引文

    arXiv:2605.29059v2 Announce Type: replace-cross Abstract: Smart contract decompilation aims to recover high-level source code from bytecode, but evaluating decompilers remains difficult because existing studies use narrow datasets, inconsistent metrics, and limited semantic consistency checks. This gap is increasingly important as large language models (LLMs) begin to generate source-like Solidity that may compile and appear plausible, even when its semantics diverge from the original contract. We introduce SCDBench, a dataset and benchmark methodology for LLM-based smart contract decompilati
    查看原文 · v1

    中文译文

    可编译的 Solidity,但要实现语义一致性仍远未解决:表现最佳的前沿模型只能完美反编译 600 个合约中的 42 个。我们进一步表明,引入同一模型的编译修复可以显著提升性能,且额外成本适中。SCDBench 为严格、可复现的评估建立了共同基础,旨在加速开发可靠的智能合约反编译器,以提升区块链安全性和透明度。

    原文引文

    compilable Solidity, but achieving semantic consistency remains far from solved: the best-performing frontier model perfectly decompiles only 42/600 contracts. We further show that introducing same-model compilation repair substantially improves performance at modest additional cost. SCDBench establishes a common ground for rigorous, reproducible evaluation and aims to accelerate the development of reliable smart contract decompilers for blockchain security and transparency.
    查看原文 · v1

风险评估

  • 已报道的风险机制是:现有反编译评估使用窄数据集、不一致指标和有限的语义一致性检查,LLM 可产出可编译且看似合理的 Solidity,而语义偏离原合约;触发条件是评估仅覆盖少量样本或只看编译结果。来源给出的量化事实是表现最好的前沿模型仅完美反编译 42/600 个合约,说明语义一致性远未解决,防护优先级应放在语义一致性验证而非编译成功率上。

    原文依据 · 2

    中文译文

    arXiv:2605.29059v2 公告类型:替换交叉 摘要:智能合约反编译旨在从字节码中恢复高级源代码,但评估反编译器仍然困难,因为现有研究使用范围狭窄的数据集、不一致的指标,以及有限的语义一致性检查。随着大型语言模型(LLM)开始生成类似源代码的 Solidity,这一差距愈发重要;这些代码可能可以编译且看似合理,即使其语义偏离原始合约。我们提出 SCDBench,这是一个用于基于 LLM 的智能合约反编译的基准数据集和评估方法

    原文引文

    arXiv:2605.29059v2 Announce Type: replace-cross Abstract: Smart contract decompilation aims to recover high-level source code from bytecode, but evaluating decompilers remains difficult because existing studies use narrow datasets, inconsistent metrics, and limited semantic consistency checks. This gap is increasingly important as large language models (LLMs) begin to generate source-like Solidity that may compile and appear plausible, even when its semantics diverge from the original contract. We introduce SCDBench, a dataset and benchmark methodology for LLM-based smart contract decompilati
    查看原文 · v1

    中文译文

    可编译的 Solidity,但要实现语义一致性仍远未解决:表现最佳的前沿模型只能完美反编译 600 个合约中的 42 个。我们进一步表明,引入同一模型的编译修复可以显著提升性能,且额外成本适中。SCDBench 为严格、可复现的评估建立了共同基础,旨在加速开发可靠的智能合约反编译器,以提升区块链安全性和透明度。

    原文引文

    compilable Solidity, but achieving semantic consistency remains far from solved: the best-performing frontier model perfectly decompiles only 42/600 contracts. We further show that introducing same-model compilation repair substantially improves performance at modest additional cost. SCDBench establishes a common ground for rigorous, reproducible evaluation and aims to accelerate the development of reliable smart contract decompilers for blockchain security and transparency.
    查看原文 · v1

相关研究

  • 来源介绍 SCDBench,一个面向 LLM 智能合约反编译的数据集与基准方法,针对现有研究数据集窄、指标不一致、语义一致性检查有限的问题,建立严谨可复现的评估共同基础,目标是加速可靠反编译器的发展以服务区块链安全与透明性。材料还报告引入同模型编译修复可在适度额外成本下显著提升表现,这属于来源给出的方法性发现。

    原文依据 · 2

    中文译文

    arXiv:2605.29059v2 公告类型:替换交叉 摘要:智能合约反编译旨在从字节码中恢复高级源代码,但评估反编译器仍然困难,因为现有研究使用范围狭窄的数据集、不一致的指标,以及有限的语义一致性检查。随着大型语言模型(LLM)开始生成类似源代码的 Solidity,这一差距愈发重要;这些代码可能可以编译且看似合理,即使其语义偏离原始合约。我们提出 SCDBench,这是一个用于基于 LLM 的智能合约反编译的基准数据集和评估方法

    原文引文

    arXiv:2605.29059v2 Announce Type: replace-cross Abstract: Smart contract decompilation aims to recover high-level source code from bytecode, but evaluating decompilers remains difficult because existing studies use narrow datasets, inconsistent metrics, and limited semantic consistency checks. This gap is increasingly important as large language models (LLMs) begin to generate source-like Solidity that may compile and appear plausible, even when its semantics diverge from the original contract. We introduce SCDBench, a dataset and benchmark methodology for LLM-based smart contract decompilati
    查看原文 · v1

    中文译文

    可编译的 Solidity,但要实现语义一致性仍远未解决:表现最佳的前沿模型只能完美反编译 600 个合约中的 42 个。我们进一步表明,引入同一模型的编译修复可以显著提升性能,且额外成本适中。SCDBench 为严格、可复现的评估建立了共同基础,旨在加速开发可靠的智能合约反编译器,以提升区块链安全性和透明度。

    原文引文

    compilable Solidity, but achieving semantic consistency remains far from solved: the best-performing frontier model perfectly decompiles only 42/600 contracts. We further show that introducing same-model compilation repair substantially improves performance at modest additional cost. SCDBench establishes a common ground for rigorous, reproducible evaluation and aims to accelerate the development of reliable smart contract decompilers for blockchain security and transparency.
    查看原文 · v1

验证资料

  • 来源报告的实验以 600 个合约的基准评估前沿模型,最佳结果为完美反编译 42/600,并显示同模型编译修复带来提升;适用条件是采用统一数据集、一致指标和语义一致性检查。防御性核查可围绕反编译产物的语义一致性比对、编译修复前后结果差异以及基准样本覆盖度设置观察指标,具体日志字段与阈值需结合本地流程确定。

    原文依据 · 2

    中文译文

    arXiv:2605.29059v2 公告类型:替换交叉 摘要:智能合约反编译旨在从字节码中恢复高级源代码,但评估反编译器仍然困难,因为现有研究使用范围狭窄的数据集、不一致的指标,以及有限的语义一致性检查。随着大型语言模型(LLM)开始生成类似源代码的 Solidity,这一差距愈发重要;这些代码可能可以编译且看似合理,即使其语义偏离原始合约。我们提出 SCDBench,这是一个用于基于 LLM 的智能合约反编译的基准数据集和评估方法

    原文引文

    arXiv:2605.29059v2 Announce Type: replace-cross Abstract: Smart contract decompilation aims to recover high-level source code from bytecode, but evaluating decompilers remains difficult because existing studies use narrow datasets, inconsistent metrics, and limited semantic consistency checks. This gap is increasingly important as large language models (LLMs) begin to generate source-like Solidity that may compile and appear plausible, even when its semantics diverge from the original contract. We introduce SCDBench, a dataset and benchmark methodology for LLM-based smart contract decompilati
    查看原文 · v1

    中文译文

    可编译的 Solidity,但要实现语义一致性仍远未解决:表现最佳的前沿模型只能完美反编译 600 个合约中的 42 个。我们进一步表明,引入同一模型的编译修复可以显著提升性能,且额外成本适中。SCDBench 为严格、可复现的评估建立了共同基础,旨在加速开发可靠的智能合约反编译器,以提升区块链安全性和透明度。

    原文引文

    compilable Solidity, but achieving semantic consistency remains far from solved: the best-performing frontier model perfectly decompiles only 42/600 contracts. We further show that introducing same-model compilation repair substantially improves performance at modest additional cost. SCDBench establishes a common ground for rigorous, reproducible evaluation and aims to accelerate the development of reliable smart contract decompilers for blockchain security and transparency.
    查看原文 · v1

处置建议

  • 建议先以 SCDBench 的统一数据集和语义一致性指标替换仅看编译成功率的评估方式,再对 LLM 反编译产物做语义比对,并把同模型编译修复作为可选的提升手段记录其成本与效果;随后建立回归验证,跟踪完美反编译比例等指标变化。这些步骤对应来源指出的评估缺陷与 42/600 的基线事实,属于条件性建议。

    原文依据 · 2

    中文译文

    arXiv:2605.29059v2 公告类型:替换交叉 摘要:智能合约反编译旨在从字节码中恢复高级源代码,但评估反编译器仍然困难,因为现有研究使用范围狭窄的数据集、不一致的指标,以及有限的语义一致性检查。随着大型语言模型(LLM)开始生成类似源代码的 Solidity,这一差距愈发重要;这些代码可能可以编译且看似合理,即使其语义偏离原始合约。我们提出 SCDBench,这是一个用于基于 LLM 的智能合约反编译的基准数据集和评估方法

    原文引文

    arXiv:2605.29059v2 Announce Type: replace-cross Abstract: Smart contract decompilation aims to recover high-level source code from bytecode, but evaluating decompilers remains difficult because existing studies use narrow datasets, inconsistent metrics, and limited semantic consistency checks. This gap is increasingly important as large language models (LLMs) begin to generate source-like Solidity that may compile and appear plausible, even when its semantics diverge from the original contract. We introduce SCDBench, a dataset and benchmark methodology for LLM-based smart contract decompilati
    查看原文 · v1

    中文译文

    可编译的 Solidity,但要实现语义一致性仍远未解决:表现最佳的前沿模型只能完美反编译 600 个合约中的 42 个。我们进一步表明,引入同一模型的编译修复可以显著提升性能,且额外成本适中。SCDBench 为严格、可复现的评估建立了共同基础,旨在加速开发可靠的智能合约反编译器,以提升区块链安全性和透明度。

    原文引文

    compilable Solidity, but achieving semantic consistency remains far from solved: the best-performing frontier model perfectly decompiles only 42/600 contracts. We further show that introducing same-model compilation repair substantially improves performance at modest additional cost. SCDBench establishes a common ground for rigorous, reproducible evaluation and aims to accelerate the development of reliable smart contract decompilers for blockchain security and transparency.
    查看原文 · v1
模型与引文记录
模型
deepseek-flash
生成时间
记录编号
REQ-a68bd978e5fe4722b86ea24ac1bf9d4b
分析原文
查看原文 · v1

图片与附件

1 项关联材料
  • cs.CR已归档 · 120.2 KB
    采集与来源记录
    文件名称
    cs.CR
    记录大小
    123127 字节
    文件格式
    text/plain
    关联登记时间
    2026-11-10 04:21 UTC
    关联原文
    v1
    保存时校验
    98b53ecb73d532a83ed105e486c48e4d46116e2e19c4d491c6bab7e95b726164

资料档案

文献来源与参考链接

当前保存的来源版本 · v1

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

SCDBench: A Benchmark for LLM-Based Smart Contract Decompilers

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

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

分类规则与原始字段
评测治理 · benchmark
SCDBench: A Benchmark for LLM-Based Smart Contract Decompilers arXiv:2605.29059v2 Announce Type: replace-cross Abstract:
LLM · llm
SCDBench: A Benchmark for LLM-Based Smart Contract Decompilers arXiv:2605.29059v2 Announce Type: replace-cross Abstract: Smart c
{
  "ai_relevance": {
    "evidence": [
      {
        "end_offset": 29,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 26
      },
      {
        "end_offset": 418,
        "location": "title_and_content",
        "quote": "large language models",
        "rule": "ai_term",
        "start_offset": 397
      },
      {
        "end_offset": 424,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 420
      },
      {
        "end_offset": 630,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 627
      },
      {
        "end_offset": 1247,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 1243
      }
    ],
    "matches": [
      {
        "end_offset": 29,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 26
      },
      {
        "end_offset": 418,
        "location": "title_and_content",
        "quote": "large language models",
        "rule": "ai_term",
        "start_offset": 397
      },
      {
        "end_offset": 424,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 420
      },
      {
        "end_offset": 630,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 627
      },
      {
        "end_offset": 1247,
        "location": "title_and_content",
        "quote": "LLMs",
        "rule": "ai_term",
        "start_offset": 1243
      }
    ],
    "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:2605.29059v2 Announce Type: replace-cross 
Abstract: Smart contract decompilation aims to recover high-level source code from bytecode, but evaluating decompilers remains difficult because existing studies use narrow datasets, inconsistent metrics, and limited semantic consistency checks. This gap is increasingly important as large language models (LLMs) begin to generate source-like Solidity that may compile and appear plausible, even when its semantics diverge from the original contract. We introduce SCDBench, a dataset and benchmark methodology for LLM-based smart contract decompilation. The dataset contains 600 real-world Solidity contracts with paired bytecode inputs, ground-truth source code, and replayable semantic checkpoints. SCDBench evaluates decompiler outputs through four cumulative stages: format completeness, compilability, Application Binary Interface (ABI) recovery, and semantic consistency via differential replay. We evaluate Claude Opus 4.7, GPT-5.3-Codex, and GLM-5 in a zero-shot decompilation setting, including GLM-5 variants with and without extended reasoning and a zero-shot compilation-repair setting. The results show that frontier LLMs can often produce structured and compilable Solidity, but achieving semantic consistency remains far from solved: the best-performing frontier model perfectly decompiles only 42/600 contracts. We further show that introducing same-model compilation repair substantially improves performance at modest additional cost. SCDBench establishes a common ground for rigorous, reproducible evaluation and aims to accelerate the development of reliable smart contract decompilers for blockchain security and transparency.
采集信息与校验
完整来源元数据
{
  "authors": [],
  "content_level": "feed_metadata",
  "feed_url": "https://rss.arxiv.org/rss/cs.CR",
  "identifiers": [
    "arxiv:2605.29059"
  ],
  "source_updated_at": ""
}
{
  "format": "arxiv_rss",
  "source_format": "arxiv_feed_metadata"
}
原文版本历史与校验
版本入库更新时间来源发布日期校验标识
v1 · 正在查看2026-11-09 06:12 UTC2026-11-09 05:00 UTC7d239785b2e8a030cd53c6b637815b262eea5ae87655aa42c99cf0f8faa52d97
可引用分片 · 2 段

CHK-4844995cb456441e3440d1be

arXiv:2605.29059v2 Announce Type: replace-cross 
Abstract: Smart contract decompilation aims to recover high-level source code from bytecode, but evaluating decompilers remains difficult because existing studies use narrow datasets, inconsistent metrics, and limited semantic consistency checks. This gap is increasingly important as large language models (LLMs) begin to generate source-like Solidity that may compile and appear plausible, even when its semantics diverge from the original contract. We introduce SCDBench, a dataset and benchmark methodology for LLM-based smart contract decompilation. The dataset contains 600 real-world Solidity contracts with paired bytecode inputs, ground-truth source code, and replayable semantic checkpoints. SCDBench evaluates decompiler outputs through four cumulative stages: format completeness, compilability, Application Binary Interface (ABI) recovery, and semantic consistency via differential replay. We evaluate Claude Opus 4.7, GPT-5.3-Codex, and GLM-5 in a zero-shot decompilation setting, including GLM-5 variants with and without extended reasoning and a zero-shot compilation-repair setting. The results show that frontier LLMs can often produce structured and compilable Solidity, but achieving semantic consistency remains far from solved: the best-performing frontier model perfectly decompiles only 42/600 contracts.

CHK-fe749a97e0de948719f9d836

 compilable Solidity, but achieving semantic consistency remains far from solved: the best-performing frontier model perfectly decompiles only 42/600 contracts. We further show that introducing same-model compilation repair substantially improves performance at modest additional cost. SCDBench establishes a common ground for rigorous, reproducible evaluation and aims to accelerate the development of reliable smart contract decompilers for blockchain security and transparency.
补充资料

中文译文

arXiv:2605.29059v2 公告类型:replace-cross 摘要:智能合约反编译旨在从字节码中还原高级源代码,但评估反编译器仍然很困难,因为现有研究使用的数据集范围狭窄、指标不一致,且语义一致性检查有限。随着大型语言模型(LLM)开始生成类似源代码的 Solidity,这一缺口日益重要:生成的代码可能可以编译且看似合理,即使其语义与原始合约存在偏差。我们推出了 SCDBench,这是一个面向基于 LLM 的智能合约反编译的数据集和基准测试方法。该数据集包含 600 个真实世界的 Solidity 合约,并配有对应的字节码输入、真实源代码和可重放的语义检查点。SCDBench 通过四个逐步递进的阶段评估反编译器输出:格式完整性、可编译性、应用程序二进制接口(ABI)恢复,以及通过差分进行语义一致性评估

重放。我们在零样本反编译设置下评估 Claude Opus 4.7、GPT-5.3-Codex 和 GLM-5,包括采用和不采用扩展推理的 GLM-5 变体;还评估了零样本编译修复设置。结果表明,前沿大语言模型通常能够生成结构化且可编译的 Solidity 代码,但实现语义一致性仍远未解决:表现最佳的前沿模型也只完美反编译了 42/600 个合约。我们进一步表明,引入同一模型进行编译修复,能够以适度的额外成本显著提升性能。SCDBench 为严格、可复现的评估建立了共同基准,旨在加速开发可靠的智能合约反编译器,以服务于区块链安全与透明度。

已采集原文

访问来源网页

arXiv:2605.29059v2 Announce Type: replace-cross Abstract: Smart contract decompilation aims to recover high-level source code from bytecode, but evaluating decompilers remains difficult because existing studies use narrow datasets, inconsistent metrics, and limited semantic consistency checks. This gap is increasingly important as large language models (LLMs) begin to generate source-like Solidity that may compile and appear plausible, even when its semantics diverge from the original contract. We introduce SCDBench, a dataset and benchmark methodology for LLM-based smart contract decompilation. The dataset contains 600 real-world Solidity contracts with paired bytecode inputs, ground-truth source code, and replayable semantic checkpoints. SCDBench evaluates decompiler outputs through four cumulative stages: format completeness, compilability, Application Binary Interface (ABI) recovery, and semantic consistency via differential replay. We evaluate Claude Opus 4.7, GPT-5.3-Codex, and GLM-5 in a zero-shot decompilation setting, including GLM-5 variants with and without extended reasoning and a zero-shot compilation-repair setting. The results show that frontier LLMs can often produce structured and compilable Solidity, but achieving semantic consistency remains far from solved: the best-performing frontier model perfectly decompiles only 42/600 contracts. We further show that introducing same-model compilation repair substantially improves performance at modest additional cost. SCDBench establishes a common ground for rigorous, reproducible evaluation and aims to accelerate the development of reliable smart contract decompilers for blockchain security and transparency.

原文依据