Investigation on Vulnerabilities Location in Solidity Smart Contracts

被引:0
作者
Staderini, Mirko [1 ]
Bondavalli, Andrea [1 ]
机构
[1] Univ Florence, Dept Math & Informat, I-50134 Florence, Italy
来源
BLOCKCHAIN AND APPLICATIONS | 2022年 / 320卷
关键词
Smart contracts; Solidity; Vulnerabilities; Locations;
D O I
10.1007/978-3-030-86162-9_20
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Smart contracts had a very fast increasing development in the last years. Once a smart contract is deployed on a blockchain due to code immutability, its residual vulnerabilities cannot be patched. Reducing the number of residual vulnerabilities becomes thus very important and normally is achieved through static analyzers. This paper investigates the physical position (location) of vulnerabilities in Solidity smart contracts. To this purpose, we use a language-independent systematization of vulnerabilities and we consider the outputs of a set of static analyzers processing a representative set of smart contracts. We analyze the distributions of the locations where tools find positive outcomes. We create the ground truth of vulnerabilities for a subset S of smart contracts through manual inspection and we first perform a comparison of the distributions within this set. Then we generalize our findings by comparing the distributions between the manually inspected subset and the full set. Such comparison allows us to identify where certain classes of vulnerabilities are located, suggesting specific areas in Solidity smart contracts where the search for vulnerabilities should focus.
引用
收藏
页码:199 / 211
页数:13
相关论文
共 19 条
[1]  
[Anonymous], MYTHRIL REPOSITORY
[2]   A Survey of Attacks on Ethereum Smart Contracts (SoK) [J].
Atzei, Nicola ;
Bartoletti, Massimo ;
Cimoli, Tiziana .
PRINCIPLES OF SECURITY AND TRUST (POST 2017), 2017, 10204 :164-186
[3]  
Chen H., 2020, ACM COMPUT SURV, V53, P1
[4]  
CWE Homepage, CWE HOMEPAGE
[5]   A Survey of Tools for Analyzing Ethereum Smart Contracts [J].
di Angelo, Monika ;
Salzer, Gernot .
2019 IEEE INTERNATIONAL CONFERENCE ON DECENTRALIZED APPLICATIONS AND INFRASTRUCTURES (DAPPCON), 2019, :69-78
[6]   Empirical Review of Automated Analysis Tools on 47,587 Ethereum Smart Contracts [J].
Durieux, Thomas ;
Ferreira, Joao F. ;
Abreu, Rui ;
Cruz, Pedro .
2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, :530-541
[7]   Slither: A Static Analysis Framework For Smart Contracts [J].
Feist, Josselin ;
Greico, Gustavo ;
Groce, Alex .
2019 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON EMERGING TRENDS IN SOFTWARE ENGINEERING FOR BLOCKCHAIN (WETSEB 2019), 2019, :8-15
[8]  
Frank J, 2020, PROCEEDINGS OF THE 29TH USENIX SECURITY SYMPOSIUM, P2757
[9]   Making Smart Contracts Smarter [J].
Luu, Loi ;
Chu, Duc-Hiep ;
Olickel, Hrishi ;
Saxena, Prateek ;
Hobor, Aquinas .
CCS'16: PROCEEDINGS OF THE 2016 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2016, :254-269
[10]  
Okun V., 2007, P ACM C COMPUTER COM