VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts

被引:78
|
作者
So, Sunbeom [1 ]
Lee, Myungho [1 ]
Park, Jisu [1 ]
Lee, Heejo [1 ]
Oh, Hakjoo [1 ]
机构
[1] Korea Univ, Dept Comp Sci & Engn, Seoul, South Korea
关键词
D O I
10.1109/SP40000.2020.00032
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present VERISMART, a highly precise verifier for ensuring arithmetic safety of Ethereum smart contracts. Writing safe smart contracts without unintended behavior is critically important because smart contracts are immutable and even a single flaw can cause huge financial damage. In particular, ensuring that arithmetic operations are safe is one of the most important and common security concerns of Ethereum smart contracts nowadays. In response, several safety analyzers have been proposed over the past few years, but state-of-the-art is still unsatisfactory; no existing tools achieve high precision and recall at the same time, inherently limited to producing annoying false alarms or missing critical bugs. By contrast, VERISMART aims for an uncompromising analyzer that performs exhaustive verification without compromising precision or scalability, thereby greatly reducing the burden of manually checking undiscovered or incorrectly-reported issues. To achieve this goal, we present a new domain-specific algorithm for verifying smart contracts, which is able to automatically discover and leverage transaction invariants that are essential for precisely analyzing smart contracts. Evaluation with real-world smart contracts shows that VERISMART can detect all arithmetic bugs with a negligible number of false alarms, far outperforming existing analyzers.
引用
收藏
页码:1678 / 1694
页数:17
相关论文
共 50 条
  • [41] Mutation Testing for Integer Overflow in Ethereum Smart Contracts
    Jinlei Sun
    Song Huang
    Changyou Zheng
    Tingyong Wang
    Cheng Zong
    Zhanwei Hui
    Tsinghua Science and Technology, 2022, 27 (01) : 27 - 40
  • [42] GASOL: Gas Analysis and Optimization for Ethereum Smart Contracts
    Albert, Elvira
    Correas, Jesus
    Gordillo, Pablo
    Roman-Diez, Guillermo
    Rubio, Albert
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PT II, TACAS 2020, 2020, 12079 : 118 - 125
  • [43] Automated Inference on Financial Security of Ethereum Smart Contracts
    Wang, Wansen
    Huang, Wenchao
    Meng, Zhaoyi
    Xiong, Yan
    Miao, Fuyou
    Fang, Xianjin
    Tu, Caichang
    Ji, Renjie
    PROCEEDINGS OF THE 32ND USENIX SECURITY SYMPOSIUM, 2023, : 3367 - 3383
  • [44] Detecting Nondeterministic Payment Bugs in Ethereum Smart Contracts
    Wang, Shuai
    Zhang, Chengyu
    Su, Zhendong
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (OOPSLA):
  • [45] EthVer: Formal Verification of Randomized Ethereum Smart Contracts
    Mazurek, Lukasz
    FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2021, 2021, 12676 : 364 - 380
  • [46] SCSGuard: Deep Scam Detection for Ethereum Smart Contracts
    Hu, Huiwen
    Bai, Qianlan
    Xu, Yuedong
    IEEE INFOCOM 2022 - IEEE CONFERENCE ON COMPUTER COMMUNICATIONS WORKSHOPS (INFOCOM WKSHPS), 2022,
  • [47] OSIRIS: Hunting for Integer Bugs in Ethereum Smart Contracts
    Torres, Christof Ferreira
    Schuette, Julian
    State, Radu
    34TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE (ACSAC 2018), 2018, : 664 - 676
  • [48] ATL Model Checking for Analysis of Ethereum Smart Contracts
    Nam W.
    Kil H.
    Transactions of the Korean Institute of Electrical Engineers, 2021, 70 (12): : 2006 - 2014
  • [49] Foundations and Tools for the Static Analysis of Ethereum Smart Contracts
    Grishchenko, Ilya
    Maffei, Matteo
    Schneidewind, Clara
    COMPUTER AIDED VERIFICATION (CAV 2018), PT I, 2018, 10981 : 51 - 78
  • [50] Ethereum Smart Contracts as Blockchain-oriented Microservices
    Tonelli, Roberto
    Pinna, Andrea
    Baralla, Gavina
    Ibba, Simona
    19TH INTERNATIONAL CONFERENCE ON AGILE SOFTWARE DEVELOPMENT (XP '18), 2018,