A Hybrid Formal Verification System in Coq for Ensuring the Reliability and Security of Ethereum-Based Service Smart Contracts

被引:16
作者
Yang, Zheng [1 ]
Lei, Hang [1 ]
Qian, Weizhong [1 ]
机构
[1] Univ Elect Sci & Technol China, Sch Informat & Software Engn, Chengdu 610054, Peoples R China
关键词
Blockchain; theorem proving; distributed systems; security; verification; MODEL;
D O I
10.1109/ACCESS.2020.2969437
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper reports a formal symbolic process virtual machine (FSPVM) denoted as FSPVM-E for verifying the reliability and security of Ethereum-based services at the source code level of smart contracts. A Coq proof assistant is employed for programming the system and for proving its correctness. The current version of FSPVM-E adopts execution-verification isomorphism, which is an application extension of Curry-Howard isomorphism, as its fundamental theoretical framework to combine symbolic execution and higher-order logic theorem proving. The four primary components of FSPVM-E include a general, extensible, and reusable formal memory framework, an extensible and universal formal intermediate programming language denoted as Lolisa, which is a large subset of the Solidity programming language using generalized algebraic datatypes, the corresponding formally verified interpreter of Lolisa, denoted as FEther, and assistant tools and libraries. The self-correctness of all components is certified in Coq. FSPVM-E supports the ERC20 token standard, and can automatically and symbolically execute Ethereum-based smart contracts, scan their standard vulnerabilities, and verify their reliability and security properties with Hoare-style logic in Coq.
引用
收藏
页码:21411 / 21436
页数:26
相关论文
共 23 条
  • [1] EthVer: Formal Verification of Randomized Ethereum Smart Contracts
    Mazurek, Lukasz
    FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2021, 2021, 12676 : 364 - 380
  • [2] The Structural Role of Smart Contracts and Exchanges in the Centralisation of Ethereum-Based Cryptoassets
    De Collibus, Francesco Maria
    Piskorec, Matija
    Partida, Alberto
    Tessone, Claudio J.
    ENTROPY, 2022, 24 (08)
  • [3] Automatic Generation of Ethereum-Based Smart Contracts for Agri-Food Traceability System
    Marchesi, Lodovica
    Mannaro, Katiuscia
    Marchesi, Michele
    Tonelli, Roberto
    IEEE ACCESS, 2022, 10 : 50363 - 50383
  • [4] A formal verification approach for composite smart contracts security using FSM
    Almakhour, Mouhamad
    Sliman, Layth
    Samhat, Abed Ellatif
    Mellouk, Abdelhamid
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2023, 35 (01) : 70 - 86
  • [5] A Formal Verification Framework for Security Issues of Blockchain Smart Contracts
    Sun, Tianyu
    Yu, Wensheng
    ELECTRONICS, 2020, 9 (02)
  • [6] Modeling and Security Verification of State-Based Smart Contracts
    Mohajerani, Sahar
    Ahrendt, Wolfgang
    Fabian, Martin
    IFAC PAPERSONLINE, 2022, 55 (28): : 356 - 362
  • [7] Automatic construction and verification algorithm for smart contracts based on formal verification
    Xie, Rui
    Zhong, Xuejiao
    Chen, Xin
    Xu, Shaohui
    Yu, Haiyang
    Guo, Xinyuan
    AIP ADVANCES, 2024, 14 (11)
  • [8] The Role of Smart Contracts in the Transaction Networks of Four Key DeFi-Collateral Ethereum-Based Tokens
    De Collibus, Francesco Maria
    Partida, Alberto
    Piskorec, Matija
    COMPLEX NETWORKS & THEIR APPLICATIONS X, VOL 1, 2022, 1015 : 792 - 804
  • [9] Technical Usability Assessment of Security Analysis Tools for Ethereum Based Smart Contracts
    Zeeshan, Rana
    Tal, Irina
    2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY COMPANION, QRS-C, 2022, : 87 - 95
  • [10] Formal Verification of Fair Exchange Based on Bitcoin Smart Contracts
    Shi, Cheng
    Yoneyama, Kazuki
    PROGRESS IN CRYPTOLOGY - INDOCRYPT 2020, 2020, 12578 : 89 - 106