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 条
  • [1] Smart Contracts: Security Patterns in the Ethereum Ecosystem and Solidity
    Woehrer, Maximilian
    Zdun, Uwe
    2018 IEEE 1ST INTERNATIONAL WORKSHOP ON BLOCKCHAIN ORIENTED SOFTWARE ENGINEERING (IWBOSE), 2018, : 2 - 8
  • [2] Practices for Assessing the Security Level of Solidity Smart Contracts
    Mekkouri, Mohamed
    Hennebert, Christine
    FOUNDATIONS AND PRACTICE OF SECURITY, PT I, FPS 2023, 2024, 14551 : 71 - 86
  • [3] Robust Vulnerability Detection in Solidity-Based Ethereum Smart Contracts Using Fine-Tuned Transformer Encoder Models
    Le, Thi-Thu-Huong
    Kim, Jaehyun
    Lee, Sangmyeong
    Kim, Howon
    IEEE ACCESS, 2024, 12 : 154700 - 154717
  • [4] ESBMC-Solidity: An SMT-Based Model Checker for Solidity Smart Contracts
    Song, Kunjian
    Matulevicius, Nedas
    de Lima Filho, Eddie B.
    Cordeiro, Lucas C.
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2022), 2022, : 65 - 69
  • [5] SSCalc: A Calculus for Solidity Smart Contracts
    Marmsoler, Diego
    Thornton, Billy
    SOFTWARE ENGINEERING AND FORMAL METHODS, SEFM 2023, 2023, 14323 : 184 - 204
  • [6] Defect Prediction for Solidity Smart Contracts Based on Software Measurement
    Yang H.-W.
    Cui Z.-Q.
    Chen X.
    Jia M.-H.
    Zheng L.-W.
    Liu J.-B.
    Ruan Jian Xue Bao/Journal of Software, 2022, 33 (05): : 1587 - 1611
  • [7] A Survey on Security Analysis Methods of Smart Contracts
    Zhu, Huijuan
    Yang, Lei
    Wang, Liangmin
    Sheng, Victor S.
    IEEE TRANSACTIONS ON SERVICES COMPUTING, 2024, 17 (06) : 4522 - 4539
  • [8] Profiling gas consumption in solidity smart contracts
    Di Sorbo, Andrea
    Laudanna, Sonia
    Vacca, Anna
    Visaggio, Corrado A.
    Canfora, Gerardo
    JOURNAL OF SYSTEMS AND SOFTWARE, 2022, 186
  • [9] SmartBugs: A Framework to Analyze Solidity Smart Contracts
    Ferreira, Joao F.
    Cruz, Pedro
    Durieux, Thomas
    Abreu, Rui
    2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 1349 - 1352
  • [10] Characterizing Efficiency Optimizations in Solidity Smart Contracts
    Brandstaetter, Tamara
    Schulte, Stefan
    Cito, Juergen
    Borkowski, Michael
    2020 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN (BLOCKCHAIN 2020), 2020, : 281 - 290