Static Capability-based Security for Smart Contracts

被引:0
|
作者
Schiffl, Jonas [1 ]
Weigl, Alexander [1 ]
Beckert, Bernhard [1 ]
机构
[1] Karlsruhe Inst Technol, Informat Secur & Dependabil, Karlsruhe, Germany
关键词
Smart contracts; Security; Model-driven development; Formal analysis;
D O I
10.1109/DAPPS57946.2023.00024
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Smart contracts manage resources on a blockchain platform. These resources exist in the form of cryptocurrency, but also, more generally, in the form of data that is stored on the ledger. Due to the peculiarities of blockchain networks, changing smart contracts after deployment is hard or even impossible. This means that smart contracts must be correct and secure upon deployment. However, frequent exploits show that smart contract security is still difficult to achieve. To address this problem, we propose a static approach for capability-based smart contract security. We identify three central capabilities: calling functions, modifying state, and transferring currency. The entities to which these capabilities are attached are accounts (organized in roles) and smart contract functions. In our approach, a developer, given a security policy for a smart contract application, first designs a model of the application. The model consists of state variables, functions, roles and capabilities. We provide a definition of when the created model is consistent, and develop a formal analysis of model consistency. Furthermore, we provide a definition of what constitutes a secure implementation w.r.t. this model, and describe how to achieve an implementation which fulfills this notion of security.
引用
收藏
页码:110 / 117
页数:8
相关论文
共 50 条
  • [31] Specification of a capability-based IT classification framework
    Mulligan, P
    [J]. INFORMATION & MANAGEMENT, 2002, 39 (08) : 647 - 658
  • [32] Modeling and Security Verification of State-Based Smart Contracts
    Mohajerani, Sahar
    Ahrendt, Wolfgang
    Fabian, Martin
    [J]. IFAC PAPERSONLINE, 2022, 55 (28): : 356 - 362
  • [33] Verifying Security Vulnerabilities for Blockchain-based Smart Contracts
    Matulevicius, Nedas
    Cordeiro, Lucas C.
    [J]. 2021 XI BRAZILIAN SYMPOSIUM ON COMPUTING SYSTEMS ENGINEERING (SBESC), 2021,
  • [34] Capability-based localization of distributed and heterogeneous queries
    Seco, Joao Costa
    Ferreira, Paulo
    Lourenco, Hugo
    [J]. JOURNAL OF FUNCTIONAL PROGRAMMING, 2017, 27
  • [35] Causal Ambiguity, Complexity, and Capability-Based Advantage
    Ryall, Michael D.
    [J]. MANAGEMENT SCIENCE, 2009, 55 (03) : 389 - 403
  • [36] FORMAL MODELS OF CAPABILITY-BASED PROTECTION SYSTEMS
    SNYDER, L
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 1981, 30 (03) : 172 - 181
  • [37] AN OBJECT-ORIENTED, CAPABILITY-BASED ARCHITECTURE
    BROWNE, JC
    SMITH, T
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1984, 163 : 22 - 38
  • [38] A survey on security in consensus and smart contracts
    Cao, Xuelian
    Zhang, Jianhui
    Wu, Xuechen
    Liu, Bo
    [J]. PEER-TO-PEER NETWORKING AND APPLICATIONS, 2022, 15 (02) : 1008 - 1028
  • [39] A survey on security in consensus and smart contracts
    Xuelian Cao
    Jianhui Zhang
    Xuechen Wu
    Bo Liu
    [J]. Peer-to-Peer Networking and Applications, 2022, 15 : 1008 - 1028
  • [40] IT outsourcing success: A dynamic capability-based model
    Karimi-Alaghehband, Forough
    Rivard, Suzanne
    [J]. JOURNAL OF STRATEGIC INFORMATION SYSTEMS, 2020, 29 (01):