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 条
  • [1] Exploiting Smart Contracts for Capability-Based Access Control in the Internet of Things
    Nakamura, Yuta
    Zhang, Yuanyu
    Sasabe, Masahiro
    Kasahara, Shoji
    [J]. SENSORS, 2020, 20 (06)
  • [2] Capability-Based Planning for Australia's National Security
    Chim, Leung
    Nunes-Vaz, Rick
    Prandolini, Robert
    [J]. SECURITY CHALLENGES, 2010, 6 (03) : 79 - 96
  • [3] Towards Capability-Based Worker Modelling in a Smart Factory
    Vernim, S.
    Walzel, H.
    Knoll, A.
    Reinhart, G.
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL ENGINEERING AND ENGINEERING MANAGEMENT (IEEM), 2017, : 1576 - 1580
  • [4] Capability-Based Security Enforcement in Named Data Networking
    Li, Qi
    Lee, Patrick P. C.
    Zhang, Peng
    Su, Purui
    He, Liang
    Ren, Kui
    [J]. IEEE-ACM TRANSACTIONS ON NETWORKING, 2017, 25 (05) : 2719 - 2730
  • [5] Secure and Efficient Capability-based Power Management in the Smart Grid
    Seo, Dongwon
    Lee, Heejo
    Perrig, Adrian
    [J]. 2011 NINTH IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS WORKSHOPS (ISPAW), 2011, : 119 - 126
  • [6] CAPABILITY-BASED ADDRESSING
    FABRY, RS
    [J]. COMMUNICATIONS OF THE ACM, 1974, 17 (07) : 403 - 412
  • [7] A capability-based security approach to manage access control in the Internet of Things
    Gusmeroli, Sergio
    Piccione, Salvatore
    Rotondi, Domenico
    [J]. MATHEMATICAL AND COMPUTER MODELLING, 2013, 58 (5-6) : 1189 - 1205
  • [8] A Verified Capability-Based Model for Information Flow Security With Dynamic Policies
    Sun, Jianwen
    Long, Xiang
    Zhao, Yongwang
    [J]. IEEE ACCESS, 2018, 6 : 16395 - 16407
  • [9] Towards Effective Static Analysis Approaches for Security Vulnerabilities in Smart Contracts
    Ghaleb, Asem
    [J]. PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [10] Adaptable Capability-Based Planning
    Keddis, Nadine
    Zoitl, Alois
    Knoll, Alois
    [J]. IFAC PAPERSONLINE, 2015, 48 (03): : 1204 - 1209