arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1806.01143cs.CR
收藏

Securify:智能合约的实用安全分析

Securify: Practical Security Analysis of Smart Contracts

Petar Tsankov, Andrei Dan, Dana Drachsler Cohen, Arthur Gervais, Florian Buenzli, Martin Vechev

摘要:

无许可区块链允许执行任意程序(称为智能合约),使相互不信任的实体能够在不依赖可信第三方的情况下进行交互。尽管有潜力,但反复出现的安全问题动摇了人们对智能合约处理数十亿美元的信任。为了解决这个问题,我们提出了Securify,一个以太坊智能合约的安全分析器,它是可扩展的,完全自动化的,并且能够证明合约行为对于给定的属性是安全/不安全的。Securify的分析包括两个步骤。首先,它象征性地分析合同的依赖图,从代码中提取精确的语义信息。然后,它检查合规性和违规模式,这些模式捕获了证明属性是否成立的充分条件。为了启用可扩展性,所有模式都用指定的特定于域的语言指定。Securify是公开发布的,它已经分析了用户提交的超过18000个合同,并定期被专家用于进行安全审计。我们在现实世界的以太坊智能合约上对Securify进行了广泛的评估,并证明它可以有效地证明智能合约的正确性并发现关键违规行为。

英文摘要:

Permissionless blockchains allow the execution of arbitrary programs (called smart contracts), enabling mutually untrusted entities to interact without relying on trusted third parties. Despite their potential, repeated security concerns have shaken the trust in handling billions of USD by smart contracts. To address this problem, we present Securify, a security analyzer for Ethereum smart contracts that is scalable, fully automated, and able to prove contract behaviors as safe/unsafe with respect to a given property. Securify's analysis consists of two steps. First, it symbolically analyzes the contract's dependency graph to extract precise semantic information from the code. Then, it checks compliance and violation patterns that capture sufficient conditions for proving if a property holds or not. To enable extensibility, all patterns are specified in a designated domain-specific language. Securify is publicly released, it has analyzed >18K contracts submitted by its users, and is regularly used to conduct security audits by experts. We present an extensive evaluation of Securify over real-world Ethereum smart contracts and demonstrate that it can effectively prove the correctness of smart contracts and discover critical violations.

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

↑