FORGE智能合约漏洞审计数据集
机器学习
0 下载
15 浏览
2026-09-19
数据集简介
Structure
FORGE-Curated 以目录形式组织数据,覆盖从原始审计报告到结构化漏洞记录、再到与合约源码配对的完整链路。主要目录与文件如下:
dataset-curated/contracts/:仅包含*.sol源文件dataset-curated/contracts-raw/:含.git信息的原始项目源码dataset-curated/findings/:从审计报告中抽取的漏洞发现 JSONdataset-curated/findings-without-source/:无法解析源码的发现dataset-curated/reports/:原始 PDF 审计报告flatten/vfp/:Vulnerability-File Pairs 全部数据flatten/vfp-vuln/:仅较高严重级别的 VFPmodels/cwe_dict.json:CWE 字典models/schemas.py:Pydantic 数据模式scripts/process.ipynb、scripts/statistic.ipynb:处理与统计脚本
数据模态为文本与源代码,文件格式包括 sol、json、pdf、ipynb、py。
Examples
Vulnerability Finding (JSON)
每条漏洞发现由 Finding 结构描述,字段包括:
pathproject_infofindings
其中 findings 的每个子项包含:
idcategorytitledescriptionseveritylocationfiles
Vulnerability-File Pair (VFP)
VFP 用于把漏洞发现与受影响文件配对,字段包括:
vfp_idproject_namefindingsaffected_files
Statistics
General Overview
- 处理审计报告:323 份
- 含可访问源码的报告:208 份
- 项目数量:252 个
- 漏洞发现:2,469 条
- Solidity 文件:29,245 个
- 代码行数:4,763,142 行
- 平均每项目约 18,901 行、约 116 个文件
- VFP 总数:619 对,其中高影响(中/高/严重)303 对
Findings by Severity
| 严重级别 | 数量 |
|---|---|
| Critical | 67 |
| High | 243 |
| Medium | 427 |
| Low | 777 |
| Informational | 903 |
| N/A | 52 |
Dataset Composition
数据集收录 2024 年 12 月至 2026 年 2 月期间由 11 家顶级审计团队发布的审计报告,并从中抽取、分类漏洞数据。
Data Schema
Finding from Audit Reports
Finding 字段:path、project_info、findings。其中 findings 子字段为 id、category、title、description、severity、location、files。
ProjectInfo
ProjectInfo 字段:url、commit_id、chain、audit_date、project_path。
VFP
VFP 字段:vfp_id、project_name、findings、affected_files。
许可与访问
数据集采用 Apache-2.0 license,通过公开 GitHub 仓库免费访问,仓库地址为 https://github.com/shenyimings/FORGE-Curated。
基本信息
记录数量处理审计报告 323 份,含可访问源码的报告 208 份,项目 252 个,漏洞发现 2,469 条,Solidity 文件 29,245 个,代码行数 4,763,142 行,平均每项目约 18,901 行、约 116 个文件;VFP 总数 619 对,其中高影响(中/高/严重)303 对;严重级别分布:Critical 67、High 243、Medium 427、Low 777、Informational 903、N/A 52
文件大小未知
文件格式sol, json, pdf, ipynb, py
数据来源shenyimings (GitHub 仓库维护者)
许可Apache-2.0 license
访问方式公开 GitHub 仓库,免费访问
漏洞发现数量2,469 条
VFP 总数619 对
项目数量252 个
数据落地页https://github.com/shenyimings/FORGE-Curated
发布日期2026-09-19
智能合约漏洞数据集区块链安全Solidity审计报告
上架信息
数据集市运营
平台统一选品上架,经质量审核后公开
0 次下载