arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1711.09327cs.CRcs.FLcs.SE
收藏

设计安全的以太坊智能合约:基于有限状态机的方法

Designing Secure Ethereum Smart Contracts: A Finite State Machine Based Approach

Anastasia Mavridou, Aron Laszka

摘要:

基于区块链的分布式计算平台的采用正在快速增长。其中一些平台,如以太坊,为实施智能合约提供支持,这些智能合约预计将在包括金融和物联网在内的广泛领域中具有新颖的应用。然而,在实践中部署的大量智能合约存在安全漏洞,使恶意用户能够从合约中窃取资产或造成损害。漏洞是一个严重的问题,因为合同可能处理价值可观的金融资产,而合同漏洞在设计上是不可修复的。为了帮助开发人员创建更安全的智能合约,我们引入了FSolidM,这是一个基于严格语义的框架,用于将合约设计为有限状态机(FSM)。我们提供了一个工具,用于在易于使用的图形界面上创建FSM,并自动生成以太坊合约。此外,我们引入了一组设计模式,我们将其实现为插件,开发人员可以轻松地将其添加到他们的合同中,以增强安全性和功能。

英文摘要:

The adoption of blockchain-based distributed computation platforms is growing fast. Some of these platforms, such as Ethereum, provide support for implementing smart contracts, which are envisioned to have novel applications in a broad range of areas, including finance and Internet-of-Things. However, a significant number of smart contracts deployed in practice suffer from security vulnerabilities, which enable malicious users to steal assets from a contract or to cause damage. Vulnerabilities present a serious issue since contracts may handle financial assets of considerable value, and contract bugs are non-fixable by design. To help developers create more secure smart contracts, we introduce FSolidM, a framework rooted in rigorous semantics for designing con- tracts as Finite State Machines (FSM). We present a tool for creating FSM on an easy-to-use graphical interface and for automatically generating Ethereum contracts. Further, we introduce a set of design patterns, which we implement as plugins that developers can easily add to their contracts to enhance security and functionality.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑