A lightweight approach to smart contracts supporting safety, security, and privacy

被引:3
|
作者
Owe, Olaf [1 ]
Fazeldehkordi, Elahe [1 ]
机构
[1] Univ Oslo, Dept Informat, Oslo, Norway
关键词
Transactions; Smart contracts; Security; Privacy; Safety; Verification; MODEL;
D O I
10.1016/j.jlamp.2022.100772
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The concept of smart contract represents one of the most attractive uses of blockchain technology and has the advantage of being transparent, immutable, and corruption-free. However, blockchain is a highly resource demanding technology. The ambition of this paper is to propose a new approach for defining lightweight smart contracts, offering a high level of trust even without blockchain, when the underlying operating system can be trusted. Blockchain can be used for a higher degree of trust, for instance when the runtime system cannot be trusted. The approach gives transparency and immutability, and gives protection against corrupted or incorrect smart contract implementations. This is achieved by letting smart contract requirement specifications be separated from the smart contract implementations, provided by special objects, so-called history objects, recording all transactions of the associated contract. The history objects are generated by the runtime system as specially protected objects. Contract partners may interact with the history objects through predefined interfaces. We present a framework which includes an executable, imperative language for writing smart contracts, a functional language for contract specifications by means of invariants over the transaction history of a contract, as well as a verification system. The framework allows compositional and class-wise verification. A history object can provide runtime checking of specified behavioral properties of the contract, and can provide safety, security, and privacy control, as well as trusted transfer of assets. We demonstrate the approach on an auction system. (c) 2022 Elsevier Inc. All rights reserved.
引用
收藏
页数:34
相关论文
共 50 条
  • [21] A survey on security in consensus and smart contracts
    Xuelian Cao
    Jianhui Zhang
    Xuechen Wu
    Bo Liu
    Peer-to-Peer Networking and Applications, 2022, 15 : 1008 - 1028
  • [22] A privacy preserving identification protocol for smart contracts
    Bruschi, Francesco
    Paulon, Tommaso
    Rana, Vincenzo
    Sciuto, Donatella
    26TH IEEE SYMPOSIUM ON COMPUTERS AND COMMUNICATIONS (IEEE ISCC 2021), 2021,
  • [23] Security Vulnerabilities in Ethereum Smart Contracts
    Dika, Ardit
    Nowostawski, Mariusz
    IEEE 2018 INTERNATIONAL CONGRESS ON CYBERMATICS / 2018 IEEE CONFERENCES ON INTERNET OF THINGS, GREEN COMPUTING AND COMMUNICATIONS, CYBER, PHYSICAL AND SOCIAL COMPUTING, SMART DATA, BLOCKCHAIN, COMPUTER AND INFORMATION TECHNOLOGY, 2018, : 955 - 962
  • [24] 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
  • [25] Smart Contracts Security Threats and Solutions
    Rosaire, Senou Mahugnon
    Jules, Degila
    INTERNATIONAL JOURNAL OF INFORMATION TECHNOLOGY AND WEB ENGINEERING, 2022, 17 (01)
  • [26] A security type verifier for smart contracts
    Hu, Xinwen
    Zhuang, Yi
    Lin, Shang-Wei
    Zhang, Fuyuan
    Kan, Shuanglong
    Cao, Zining
    COMPUTERS & SECURITY, 2021, 108
  • [27] A security framework for Ethereum smart contracts
    Lopez Vivar, Antonio
    Sandoval Orozco, Ana Lucila
    Garcia Villalba, Luis Javier
    COMPUTER COMMUNICATIONS, 2021, 172 : 119 - 129
  • [28] Bitcontracts: Supporting Smart Contracts in Legacy Blockchains
    Wust, Karl
    Diana, Loris
    Kostiainen, Kari
    Karame, Ghassan
    Matetic, Sinisa
    Capkun, Srdjan
    28TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2021), 2021,
  • [29] Lightweight and efficient privacy-preserving data aggregation approach for the Smart Grid
    Badra, Mohamad
    Zeadally, Sherali
    AD HOC NETWORKS, 2017, 64 : 32 - 40
  • [30] Individual Privacy Supporting Organisational Security
    Danciu, Vitalian
    FUTURE DATA AND SECURITY ENGINEERING (FDSE 2019), 2019, 11814 : 3 - 14