solidity
收藏资源简介:
该数据集包含7种常见漏洞类型(重入、时间戳依赖、整数溢出、tod、tx.origin、unchecked-send、unhandled-exceptions和安全合约)的区块链智能合约 Solidity 源代码样本,针对稀缺漏洞类型,使用了基于模版的数据样本增强技术以平衡数据分布,适用于神经网络模型的训练、验证与测试,旨在支持智能合约漏洞检测、分类及安全分析研究。
This dataset contains Solidity source code samples of blockchain smart contracts for 7 common vulnerability types as well as secure contracts. The 7 vulnerability types are Reentrancy, Timestamp Dependency, Integer Overflow, TOD, tx.origin, Unchecked Send, and Unhandled Exceptions. To balance the data distribution, template-based data sample augmentation techniques were employed for underrepresented vulnerability types. This dataset is applicable for the training, validation and testing of neural network models, and aims to support research on smart contract vulnerability detection, classification and security analysis.
数据集概述
数据集来源
- 地址:https://github.com/hs666888/solidity
数据集内容
- 核心内容:包含区块链智能合约 Solidity 源代码样本。
- 覆盖漏洞类型:共7种常见漏洞类型,具体包括:
- 重入
- 时间戳依赖
- 整数溢出
- tod
- tx.origin
- unchecked-send
- unhandled-exceptions和安全合约
数据处理与特点
- 数据增强技术:针对稀缺漏洞类型,采用了基于模版的数据样本增强技术。
- 数据分布:通过增强技术平衡了数据分布。
数据集用途
- 适用任务:适用于神经网络模型的训练、验证与测试。
- 研究目标:旨在支持智能合约漏洞检测、分类及安全分析研究。




