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 条
  • [31] A survey on security in consensus and smart contracts
    Cao, Xuelian
    Zhang, Jianhui
    Wu, Xuechen
    Liu, Bo
    PEER-TO-PEER NETWORKING AND APPLICATIONS, 2022, 15 (02) : 1008 - 1028
  • [32] Security Vulnerabilities in Ethereum Smart Contracts
    Mense, Alexander
    Flatscher, Markus
    IIWAS2018: THE 20TH INTERNATIONAL CONFERENCE ON INFORMATION INTEGRATION AND WEB-BASED APPLICATIONS & SERVICES, 2014, : 375 - 380
  • [33] A New Approach to Prevent Reentrant Attack in Solidity Smart Contracts
    Dong, Chunyan
    Li, Yuanhong
    Tan, Liang
    BLOCKCHAIN TECHNOLOGY AND APPLICATION: SECOND CCF CHINA BLOCKCHAIN CONFERENCE (CBCC 2019), 2020, 1176 : 83 - 103
  • [34] S-GRAM: Towards Semantic-Aware Security Auditing for Ethereum Smart Contracts
    Liu, Han
    Liu, Chao
    Zhao, Wenqi
    Jiang, Yu
    Sun, Jiaguang
    PROCEEDINGS OF THE 2018 33RD IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMTED SOFTWARE ENGINEERING (ASE' 18), 2018, : 814 - 819
  • [35] A Formal Verification Framework for Security Issues of Blockchain Smart Contracts
    Sun, Tianyu
    Yu, Wensheng
    ELECTRONICS, 2020, 9 (02)
  • [36] An Analysis of Smart Contracts Security Threats Alongside Existing Solutions
    Vivar, Antonio Lopez
    Castedo, Alberto Turegano
    Orozco, Ana Lucila Sandoval
    Villalba, Luis Javier Garcia
    ENTROPY, 2020, 22 (02)
  • [37] Static Capability-based Security for Smart Contracts
    Schiffl, Jonas
    Weigl, Alexander
    Beckert, Bernhard
    2023 IEEE INTERNATIONAL CONFERENCE ON DECENTRALIZED APPLICATIONS AND INFRASTRUCTURES, DAPPS, 2023, : 110 - 117
  • [38] Security Vulnerabilities and Countermeasures of Smart Contracts: A Survey
    Sifra, Epherem Merete
    2022 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN (BLOCKCHAIN 2022), 2022, : 512 - 515
  • [39] HORSTIFY: Sound Security Analysis of Smart Contracts
    Holler, Sebastian
    Biewer, Sebastian
    Schneidewind, Clara
    2023 IEEE 36TH COMPUTER SECURITY FOUNDATIONS SYMPOSIUM, CSF, 2023, : 245 - 260
  • [40] 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