ZEUS: Analyzing Safety of Smart Contracts

被引:360
|
作者
Kalra, Sukrit [1 ]
Goel, Seep [1 ]
Dhawan, Mohan [1 ]
Sharma, Subodh [2 ]
机构
[1] IBM Res, New Delhi, India
[2] IIT Delhi, New Delhi, India
关键词
D O I
10.14722/ndss.2018.23082
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A smart contract is hard to patch for bugs once it is deployed, irrespective of the money it holds. A recent bug caused losses worth around $50 million of cryptocurrency. We present ZEUS-a framework to verify the correctness and validate the fairness of smart contracts. We consider correctness as adherence to safe programming practices, while fairness is adherence to agreed upon higher-level business logic. ZEUS leverages both abstract interpretation and symbolic model checking, along with the power of constrained horn clauses to quickly verify contracts for safety. We have built a prototype of ZEUS for Ethereum and Fabric blockchain platforms, and evaluated it with over 22.4K smart contracts. Our evaluation indicates that about 94.6% of contracts (containing cryptocurrency worth more than $0.5 billion) are vulnerable. ZEUS is sound with zero false negatives and has a low false positive rate, with an order of magnitude improvement in analysis time as compared to prior art.
引用
收藏
页数:15
相关论文
共 50 条
  • [41] Smart Contracts on the Move
    Fynn, Enrique
    Bessani, Alysson
    Pedone, Fernando
    2020 50TH ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS (DSN 2020), 2020, : 233 - 244
  • [42] Blockchain and Smart Contracts
    Abdelhamid, Manar
    Hassan, Ghada
    PROCEEDINGS OF 2019 8TH INTERNATIONAL CONFERENCE ON SOFTWARE AND INFORMATION ENGINEERING (ICSIE 2019), 2019, : 91 - 95
  • [43] Analyzing Singularity Channel Contracts
    Stengel, Zachary
    Bultan, Tevfik
    ISSTA 2009: INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2009, : 13 - 23
  • [44] Digital assets rights management through smart legal contracts and smart contracts
    Ferro, Enrico
    Saltarella, Marco
    Rotondi, Domenico
    Giovanelli, Marco
    Corrias, Giacomo
    Moncada, Roberto
    Cavallaro, Andrea
    Favenza, Alfredo
    BLOCKCHAIN-RESEARCH AND APPLICATIONS, 2023, 4 (03):
  • [45] What Do We Mean by Smart Contracts? Open Challenges in Smart Contracts
    Vigliotti, Maria G.
    FRONTIERS IN BLOCKCHAIN, 2021, 3
  • [46] Analyzing Research Trends in Smart Construction Safety: A Topic Modeling Approach
    Seo, Hyun Jeong
    Yoon, Young-Geun
    BUILDINGS, 2025, 15 (04)
  • [47] A survey: Making "Smart Contracts" really smart
    Timucin, Tunahan
    Birogul, Serdar
    TRANSACTIONS ON EMERGING TELECOMMUNICATIONS TECHNOLOGIES, 2021, 32 (11):
  • [48] Smart contracts for smart rural supply chains
    Prause, Gunnar
    Boevsky, Ivan
    BULGARIAN JOURNAL OF AGRICULTURAL SCIENCE, 2019, 25 (03): : 454 - 463
  • [49] Poster: AEGIS: Smart Shielding of Smart Contracts
    Torres, Christof Ferreira
    Baden, Mathis
    Norvill, Robert
    Jonker, Hugo
    PROCEEDINGS OF THE 2019 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'19), 2019, : 2589 - 2591
  • [50] Paradigm Shift from Paper Contracts to Smart Contracts
    Upadhyay, Kritagya
    Dantu, Ram
    He, Yanyan
    Salau, Abiola
    Badruddoja, Syed
    2021 THIRD IEEE INTERNATIONAL CONFERENCE ON TRUST, PRIVACY AND SECURITY IN INTELLIGENT SYSTEMS AND APPLICATIONS (TPS-ISA 2021), 2021, : 261 - 268