SmartBugs: A Framework to Analyze Solidity Smart Contracts
2020 (English)In: 35th IEEE/ACM International Conference on Automated Software Engineering, ASE 2020, 22 September 2020 - 25 September 2020, Association for Computing Machinery (ACM) , 2020, p. 1349-1352Conference paper, Published paper (Refereed)
Abstract [en]
Over the last few years, there has been substantial research on automated analysis, testing, and debugging of Ethereum smart contracts. However, it is not trivial to compare and reproduce that research. To address this, we present SmartBugs, an extensible and easy-to-use execution framework that simplifies the execution of analysis tools on smart contracts written in Solidity, the primary language used in Ethereum. SmartBugs is currently distributed with support for 10 tools and two datasets of Solidity contracts. The first dataset can be used to evaluate the precision of analysis tools, as it contains 143 annotated vulnerable contracts with 208 tagged vulnerabilities. The second dataset contains 47,518 unique contracts collected through Etherscan. We discuss how SmartBugs supported the largest experimental setup to date both in the number of tools and in execution time. Moreover, we show how it enables easy integration and comparison of analysis tools by presenting a new extension to the tool SmartCheck that improves substantially the detection of vulnerabilities related to the DASP10 categories Bad Randomness, Time Manipulation, and Access Control (identified vulnerabilities increased from 11% to 24%).
Place, publisher, year, edition, pages
Association for Computing Machinery (ACM) , 2020. p. 1349-1352
Series
IEEE ACM International Conference on Automated Software Engineering, ISSN 1527-1366
Keywords [en]
Smart contracts, Solidity, Ethereum, Blockchain, Tools, Debugging, Testing, Reproducible Bugs
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:kth:diva-296846DOI: 10.1145/3324884.3415298ISI: 000651313500142Scopus ID: 2-s2.0-85099245555OAI: oai:DiVA.org:kth-296846DiVA, id: diva2:1565475
Conference
35th IEEE/ACM International Conference on Automated Software Engineering (ASE), SEP 21-25, 2020, ELECTR NETWORK
Note
QC 20210614
2021-06-142021-06-142022-06-25Bibliographically approved