Smart contract vulnerabilities pose serious security risks to decentralized applications. Given that deployed smart contract code is generally immutable, detecting vulnerabilities before deployment is crucial. Smart Contract Vulnerability (SCV) datasets play a key role in developing and evaluating vulnerability detection tools. Existing SCV datasets are commonly constructed through tool-based labeling, manual curation, or predefined vulnerability injection. However, these approaches face three key challenges: First, vulnerability samples often lack traceable origins in real-world security incidents. Second, ground-truth labels often lack empirical validation. Third, the number of instances per vulnerability type remains limited even when both provenance and validation are available. To address these challenges, we present LineageForge, a framework that leverages Large Language Models (LLMs) to construct verifiable SCV datasets at scale from vulnerabilities exploited in real-world attacks. LineageForge consists of two modules: 1) The incident-guided discovery module identifies compatible contracts whose business logic supports the target vulnerability and collects supporting source evidence. 2) Guided by this evidence, the Evidence-Grounded Contract Construction (EGCC) module constructs a protected contract free of the target vulnerability and derives its vulnerable counterpart through targeted code changes. EGCC then adapts and executes the attack against both versions. Based on seven real-world incidents, LineageForge produces 1,059 validated instances, each pairing a protected contract with its vulnerable counterpart and providing executable proofs of concept and the execution environment for reproducible verification. LineageForge is available at https://github.com/youfafa/lineageforge-dataset.


翻译:暂无翻译

0
下载
关闭预览

相关内容

大语言模型视角下的智能规划方法综述
专知会员服务
139+阅读 · 2024年4月20日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
智能合约的形式化验证方法研究综述
专知
16+阅读 · 2021年5月8日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
用 LDA 和 LSA 两种方法来降维和做 Topic 建模
AI研习社
13+阅读 · 2018年8月24日
论文浅尝 | 知识图谱问答中的层次类型约束主题实体识别
ResNet, AlexNet, VGG, Inception:各种卷积网络架构的理解
全球人工智能
20+阅读 · 2017年12月17日
国家自然科学基金
2+阅读 · 2017年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
12+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 11月14日
Arxiv
34+阅读 · 2022年12月20日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
10+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
9+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
5+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
9+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
8+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
16+阅读 · 11月25日
相关VIP内容
大语言模型视角下的智能规划方法综述
专知会员服务
139+阅读 · 2024年4月20日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
相关基金
国家自然科学基金
2+阅读 · 2017年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
12+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员