Advanced Security Auditing Methods for Solidity-Based Smart Contracts

被引:0
|
作者
Xiao, Meihua [1 ]
Xu, Yangping [1 ]
Li, Zehuan [1 ]
Wan, Hongbin [1 ]
机构
[1] East China Jiaotong Univ, Sch Informat & Software Engn, Nanchang 330013, Peoples R China
基金
中国国家自然科学基金;
关键词
smart contracts; blockchain; formal methods; model checking; Ethereum;
D O I
10.3390/electronics13204093
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The development of smart contracts remains in its early stages, with significant differences in underlying programming languages and application platforms resulting in a lack of standardization. This lack of standardization increases the susceptibility to vulnerabilities and associated financial losses. To address security vulnerabilities in smart contracts on the Ethereum blockchain platform, this paper proposes a security audit method based on formal verification. The method integrates an input module, static analysis module, formal verification module, analog execution module, and report and recommendation module, which can accurately discover the security vulnerabilities and logical flaws of smart contracts through formal verification and other analysis techniques, thus realizing correctness detection. During the experiment, the method detects 8 types of common vulnerabilities in 148 smart contracts and marks 21 smart contracts with vulnerabilities. After manual review and analysis, it is found that 17 of these 21 marked smart contracts do have security vulnerabilities. The experimental results show that the proposed method can accurately detect security vulnerabilities and logic flaws in smart contracts through formal verification and other analysis techniques before smart contracts are deployed, thus significantly improving the security of smart contracts and reducing the economic losses that may be caused by code defects.
引用
收藏
页数:22
相关论文
共 50 条
  • [11] A Study of Inline Assembly in Solidity Smart Contracts
    Chaliasos, Stefanos
    Gervais, Arthur
    Livshits, Benjamin
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6 (OOPSLA):
  • [12] Towards Analyzing the Complexity Landscape of Solidity Based Ethereum Smart Contracts
    Hegedus, Peter
    2018 IEEE/ACM 1ST INTERNATIONAL WORKSHOP ON EMERGING TRENDS IN SOFTWARE ENGINEERING FOR BLOCKCHAIN (WETSEB), 2018, : 35 - 39
  • [13] Deductive verification of solidity smart contracts with SSCalc
    Marmsoler, Diego
    Thornton, Billy
    SCIENCE OF COMPUTER PROGRAMMING, 2025, 243
  • [14] Investigation on Vulnerabilities Location in Solidity Smart Contracts
    Staderini, Mirko
    Bondavalli, Andrea
    BLOCKCHAIN AND APPLICATIONS, 2022, 320 : 199 - 211
  • [15] Towards Analyzing the Complexity Landscape of Solidity Based Ethereum Smart Contracts
    Hegedus, Peter
    TECHNOLOGIES, 2019, 7 (01)
  • [16] A Survey of Security Vulnerabilities and Detection Methods for Smart Contracts
    Zhang, Jingqi
    Zhang, Xin
    Liu, Zhaojun
    Fu, Fa
    Nie, Jianyu
    Huang, Jianqiang
    Dreibholz, Thomas
    PROCEEDINGS OF THE 13TH INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND NETWORKS, VOL III, CENET 2023, 2024, 1127 : 436 - 446
  • [17] Static Detection of Missing Validations in Solidity Smart Contracts
    Munir, Sundas
    Taha, Walid
    Baig, Mirza Sanam Iqbal
    2024 IEEE INTERNATIONAL CONFERENCE ON CYBER SECURITY AND RESILIENCE, CSR, 2024, : 413 - 420
  • [18] Demystifying the Composition and Code Reuse in Solidity Smart Contracts
    Sun, Kairan
    Xu, Zhengzi
    Liu, Chengwei
    Li, Kaixuan
    Liu, Yang
    PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 796 - 807
  • [19] ReSuMo: Regression Mutation Testing for Solidity Smart Contracts
    Barboni, Morena
    Casoni, Francesco
    Morichetta, Andrea
    Polini, Andrea
    QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY, QUATIC 2022, 2022, 1621 : 61 - 76
  • [20] Deviant: A Mutation Testing Tool for Solidity Smart Contracts
    Chapman, Patrick
    Xu, Dianxiang
    Deng, Lin
    Xiong, Yin
    2019 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN (BLOCKCHAIN 2019), 2019, : 319 - 324