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 条
  • [41] Security Smells in Smart Contracts
    Demir, Mehmet
    Alalfi, Manar
    Turetken, Ozgur
    Ferworn, Alexander
    2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 442 - 449
  • [42] Astraea: Anonymous and Secure Auditing Based on Private Smart Contracts for Donation Systems
    Li, Meng
    Chen, Yifei
    Zhu, Liehaung
    Zhang, Zijian
    Ni, Jianbing
    Lal, Chhagan
    Conti, Mauro
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2023, 20 (04) : 3002 - 3018
  • [43] State-based Invariant Property Generation of Solidity Smart Contracts using Abstract Interpretation
    Halder, Raju
    2024 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN, BLOCKCHAIN 2024, 2024, : 235 - 242
  • [44] Machine translation-based fine-grained comments generation for solidity smart contracts
    Shi, Chaochen
    Xiang, Yong
    Yu, Jiangshan
    Sood, Keshav
    Gao, Longxiang
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 153
  • [45] An arbitrable multi-replica data auditing scheme based on smart contracts
    Tian, Junfeng
    Yang, Qian
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2022, 34 (22):
  • [46] When auditing Meets Blockchain: A study on applying blockchain smart contracts in auditing
    Guo, Xiaoli
    Zuo, Yanjun
    Li, Dong
    RESULTS IN ENGINEERING, 2025, 25
  • [47] VarLifter: Recovering Variables and Types from Bytecode of Solidity Smart Contracts
    Li, Yichuan
    Song, Wei
    Huang, Jeff
    Proceedings of the ACM on Programming Languages, 2024, 8 (OOPSLA2)
  • [48] 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
  • [49] ReSuMo: a regression strategy and tool for mutation testing of solidity smart contracts
    Barboni, Morena
    Morichetta, Andrea
    Polini, Andrea
    Casoni, Francesco
    SOFTWARE QUALITY JOURNAL, 2024, 32 (01) : 225 - 253
  • [50] A Solidity-to-CPN Approach Towards Formal Verification of Smart Contracts
    Garfatta, Ikram
    Klai, Kais
    Graiet, Mohamed
    Gaaloul, Walid
    2021 IEEE 30TH INTERNATIONAL CONFERENCE ON ENABLING TECHNOLOGIES: INFRASTRUCTURE FOR COLLABORATIVE ENTERPRISES (WETICE 2021), 2021, : 69 - 74