Consolidation of Ground Truth Sets for Weakness Detection in Smart Contracts
Authors:
Preprint
Abstract
Smart contracts are small programs on the blockchain that often handle valuable assets. Vulnerabilities in smart contracts can be costly, as time has shown over and over again. Countermeasures are high in demand and include best practice recommendations as well as tools supporting development, program verification, and post-deployment analysis. Many tools focus on detecting the absence or presence of a subset of the known vulnerabilities, delivering results of varying quality. Most comparative tool evaluations resort to selecting a handful of tools and testing them against each other. In the best case, the evaluation is based on a smallish ground truth. For Ethereum, there are commendable efforts by several author groups to manually classify contracts. However, a comprehensive ground truth is still lacking. In this work, we construct a ground truth based on publicly available benchmark sets for Ethereum smart contracts with manually checked ground truth data. We develop a method to unify these sets. Additionally, we devise strategies for matching entries that pertain to the same contract, such that we can determine overlaps and disagreements between the sets and consolidate the disagreements. Finally, we assess the quality of the included ground truth sets. Our work reduces inconsistencies, redundancies, and incompleteness while increasing the number of data points and heterogeneity.Keywords
All Related Versions
This publication has 22 references indexed in Scilit:
- AutoMESC: Automatic Framework for Mining and Classifying Ethereum Smart Contract Vulnerabilities and Their Fixes2023
- An Empirical Evaluation of the Effectiveness of Smart Contract Verification Tools2021
- ConFuzzius: A Data Dependency-Aware Hybrid Fuzzer for Smart Contracts2021
- Evaluating Countermeasures for Verifying the Integrity of Ethereum Smart Contract ApplicationsIEEE Access, 2021
- An Insecurity Study of Ethereum Smart Contracts2020
- Automated Generation of Test Cases for Smart Contract Security AnalyzersIEEE Access, 2020
- A Framework and DataSet for Bugs in Ethereum Smart Contracts2020
- Gigahorse: Thorough, Declarative Decompilation of Smart Contracts2019
- Security Vulnerabilities in Ethereum Smart Contracts2018
- A Taxonomy of Data Quality Challenges in Empirical Software Engineering2013