好的,坏的和丑陋的:以太坊智能合约自动声音静态分析的陷阱和最佳实践
The Good, the Bad and the Ugly: Pitfalls and Best Practices in Automated Sound Static Analysis of Ethereum Smart Contracts
摘要:
以太坊智能合约是运行在以太坊区块链之上的分布式程序。由于程序缺陷可能导致重大的金钱损失,并且由于区块链的不可变性而难以修复,因此迫切需要提供正式安全保证的自动分析工具。然而,设计这样的分析器被证明是具有挑战性和容易出错的。我们回顾了以太坊智能合约的自动化、可靠的静态分析的现有方法,并强调了最新技术中普遍存在的问题。最后,我们概述了eThor,这是一个最近的静态分析工具,我们根据严格的语义基础开发了一个原则性的设计和实现方法,以克服过去工作中的问题。
英文摘要:
Ethereum smart contracts are distributed programs running on top of the Ethereum blockchain. Since program flaws can cause significant monetary losses and can hardly be fixed due to the immutable nature of the blockchain, there is a strong need of automated analysis tools which provide formal security guarantees. Designing such analyzers, however, proved to be challenging and error-prone. We review the existing approaches to automated, sound, static analysis of Ethereum smart contracts and highlight prevalent issues in the state of the art. Finally, we overview eThor, a recent static analysis tool that we developed following a principled design and implementation approach based on rigorous semantic foundations to overcome the problems of past works.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。