Smart contract life-cycle management: an engineering framework for the generation of robust and verifiable smart contracts

Iqra Mustafa, A. Mcgibney, Susan Rea
{"title":"Smart contract life-cycle management: an engineering framework for the generation of robust and verifiable smart contracts","authors":"Iqra Mustafa, A. Mcgibney, Susan Rea","doi":"10.3389/fbloc.2023.1276233","DOIUrl":null,"url":null,"abstract":"The concept of smart contracts (SCs) is becoming more prevalent, and their application is gaining traction across many diverse scenarios. However, producing poorly constructed contracts carries significant risks, including the potential for substantial financial loss, a lack of trust in the technology, and the risk of exposure to cyber-attacks. Several tools exist to assist in developing SCs, but their limited functionality increases development complexity. Expert knowledge is required to ensure contract reliability, resilience, and scalability. To overcome these risks and challenges, tools and services based on modeling and formal techniques are required that offer a robust methodology for SC verification and life-cycle management. This study proposes an engineering framework for the generation of a robust and verifiable smart contract (GRV-SC) framework that covers the entire SC life-cycle from design to deployment stages. It adopts SC modeling and automated formal verification methodologies to detect security vulnerabilities and improve resilience, extensibility, and code optimization to mitigate risks associated with SC development. Initially, the framework includes the implementation of a formal approach, using colored Petri nets (CPNs), to model cross-platform Digital Asset Modeling Language (DAML) SCs. It also incorporates a specialized type safety dynamic verifier, which is designed to detect and address new vulnerabilities that can arise in DAML contracts, such as access control and insecure direct object reference (Idor) vulnerabilities. The proposed GRV-SC framework provides a holistic approach to SC life-cycle management and aims to enhance the security, reliability, and adoption of SCs.","PeriodicalId":426570,"journal":{"name":"Frontiers in Blockchain","volume":"6 6","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-01-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Frontiers in Blockchain","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3389/fbloc.2023.1276233","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The concept of smart contracts (SCs) is becoming more prevalent, and their application is gaining traction across many diverse scenarios. However, producing poorly constructed contracts carries significant risks, including the potential for substantial financial loss, a lack of trust in the technology, and the risk of exposure to cyber-attacks. Several tools exist to assist in developing SCs, but their limited functionality increases development complexity. Expert knowledge is required to ensure contract reliability, resilience, and scalability. To overcome these risks and challenges, tools and services based on modeling and formal techniques are required that offer a robust methodology for SC verification and life-cycle management. This study proposes an engineering framework for the generation of a robust and verifiable smart contract (GRV-SC) framework that covers the entire SC life-cycle from design to deployment stages. It adopts SC modeling and automated formal verification methodologies to detect security vulnerabilities and improve resilience, extensibility, and code optimization to mitigate risks associated with SC development. Initially, the framework includes the implementation of a formal approach, using colored Petri nets (CPNs), to model cross-platform Digital Asset Modeling Language (DAML) SCs. It also incorporates a specialized type safety dynamic verifier, which is designed to detect and address new vulnerabilities that can arise in DAML contracts, such as access control and insecure direct object reference (Idor) vulnerabilities. The proposed GRV-SC framework provides a holistic approach to SC life-cycle management and aims to enhance the security, reliability, and adoption of SCs.
智能合约生命周期管理:生成稳健且可验证的智能合约的工程框架
智能合约(Smart Contracts,SC)的概念正变得越来越普遍,其应用在许多不同的场景中也越来越受到重视。然而,制作不完善的合约会带来巨大风险,包括可能造成重大经济损失、技术缺乏信任以及面临网络攻击的风险。目前有几种工具可以帮助开发 SC,但其有限的功能增加了开发的复杂性。要确保合同的可靠性、弹性和可扩展性,还需要专业知识。为了克服这些风险和挑战,需要基于建模和形式化技术的工具和服务,为 SC 验证和生命周期管理提供可靠的方法。本研究为生成稳健可验证的智能合约(GRV-SC)框架提出了一个工程框架,该框架涵盖了从设计到部署阶段的整个智能合约生命周期。它采用智能合约建模和自动化形式验证方法来检测安全漏洞,并提高弹性、可扩展性和代码优化,以降低与智能合约开发相关的风险。最初,该框架包括使用彩色 Petri 网(CPN)实施正式方法,以对跨平台数字资产建模语言(DAML)SC 进行建模。它还包含一个专门的类型安全动态验证器,旨在检测和解决 DAML 合约中可能出现的新漏洞,如访问控制和不安全的直接对象引用(Idor)漏洞。拟议的 GRV-SC 框架为 SC 生命周期管理提供了一种整体方法,旨在提高 SC 的安全性、可靠性和采用率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
7.00
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信