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] 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
  • [2] 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
  • [3] 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
  • [4] Towards Analyzing the Complexity Landscape of Solidity Based Ethereum Smart Contracts
    Hegedus, Peter
    TECHNOLOGIES, 2019, 7 (01)
  • [5] 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
  • [6] A Curated Solidity Smart Contracts Repository of Metrics and Vulnerability
    Ibba, Giacomo
    Aufiero, Sabrina
    Neykova, Rumyana
    Bartolucci, Silvia
    Ortu, Marco
    Tonelli, Roberto
    PROCEEDINGS OF THE 20TH INTERNATIONAL CONFERENCE ON PREDICTIVE MODELS AND DATA ANALYTICS IN SOFTWARE ENGINEERING, PROMISE 2024, 2024, : 32 - 41
  • [7] Model Checking of Solidity Smart Contracts Adopted for Business Processes
    Garfatta, Ikram
    Klai, Kais
    Graiet, Mohamed
    Gaaloul, Walid
    SERVICE-ORIENTED COMPUTING (ICSOC 2021), 2021, 13121 : 116 - 132
  • [8] Survey of Formal Verification Methods for Smart Contracts on Blockchain
    Murray, Yvonne
    Anisi, David A.
    2019 10TH IFIP INTERNATIONAL CONFERENCE ON NEW TECHNOLOGIES, MOBILITY AND SECURITY (NTMS), 2019,
  • [9] A simulator of Solidity-style smart contracts in the theorem prover Agda
    Alhabardi, Fahad
    Setzer, Anton
    6TH INTERNATIONAL CONFERENCE ON BLOCKCHAIN TECHNOLOGY AND APPLICATIONS, ICBTA 2023, 2023, : 1 - 11
  • [10] 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