https://github.com/vprlab/modifierdataset
The dataset of 62,464 smart contracts with modifiers used in our ISSTA'23 paper
https://github.com/vprlab/modifierdataset
Last synced: 3 months ago
JSON representation
The dataset of 62,464 smart contracts with modifiers used in our ISSTA'23 paper
- Host: GitHub
- URL: https://github.com/vprlab/modifierdataset
- Owner: VPRLab
- Created: 2023-05-08T07:57:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-01T09:55:03.000Z (over 1 year ago)
- Last Synced: 2025-01-20T09:46:53.165Z (about 1 year ago)
- Homepage:
- Size: 1.46 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## SoMo Code
SoMo code is now available at [VPRLab/SoMo](https://github.com/VPRLab/SoMo).
# ModifierDataset
The dataset of 62,464 smart contracts with modifiers used in our ISSTA'23 paper
**Beyond “Protected” and “Private”: An Empirical Security Analysis of Custom Function Modifiers in Smart Contracts**
Paper [link](https://daoyuan14.github.io/papers/ISSTA23_SoMo.pdf) and bib reference: [link](https://scholar.googleusercontent.com/scholar.bib?q=info:xauUYNnttNUJ:scholar.google.com/&output=citation&scisdr=ClH8SZqEEITEtP4XPQI:AFWwaeYAAAAAZVcRJQIHUMAUNMAIdmyPFOuQqj4&scisig=AFWwaeYAAAAAZVcRJRARwBHIRpPmBCqSs5LhHCE&scisf=4&ct=citation&cd=-1&hl=en)
```
@INPROCEEDINGS{SoMo2023,
author = {Fang, Yuzhou and Wu, Daoyuan and Yi, Xiao and Wang, Shuai and Chen, Yufan and Chen, Mengjie and Liu, Yang and Jiang, Lingxiao},
booktitle = {Proc. ACM ISSTA},
title = {Beyond ``Protected'' and ``Private'': An Empirical Security Analysis of Custom Function Modifiers in Smart Contracts},
year = {2023}
}
```
## How to use the dataset?
- Directly obtain the contract address from the `dataset` file under the root dir of this repo.
- Fetch contract source code via [EtherScan](https://etherscan.io) API.
- Note that we have confirmed that all the contract source code is publicly available on `etherscan.io`
## How to obtain vulnerable contracts?
For ethics considerations, we would not disclose the details of the vulnerabilities as we declared in the paper. However, to facilitate the comparison with `SoMo`, we make the vulnerable contract list **on request**. Please send an email to the first and corresponding authors for the request.