arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.12960cs.CR
收藏

一种面向以太坊智能合约财务安全的自动化分析器

An Automated Analyzer for Financial Security of Ethereum Smart Contracts

Wansen Wang, Wenchao Huang, Zhaoyi Meng, Yan Xiong, Fuyou Miao, Xianjin Fang, Caichang Tu, Renjie Ji

AI总结:

针对以太坊智能合约财务安全难以大规模精确分析的问题,提出 FASVERIF 自动化分析器,自动生成验证模型与安全属性,并在漏洞数据集上展现出更高准确性和覆盖度。

摘要:

目前,每年有数百万个以太坊智能合约被创建,并吸引了受经济利益驱动的攻击者。然而,现有分析器无法满足对大量合约的财务安全进行精确分析的需求。本文提出并实现了 FASVERIF,这是一种用于对智能合约财务安全进行细粒度分析的自动化分析器。一方面,FASVERIF 会自动生成待验证模型,以依据智能合约的安全属性进行验证。另一方面,我们的分析器会自动生成安全属性,这不同于现有的智能合约形式化验证工具。因此,FASVERIF 能够自动处理智能合约源代码,并在可能的情况下使用形式化方法,以同时最大化其准确性。我们在一个漏洞数据集上对 FASVERIF 进行评估,并将其与其他自动化工具进行比较。评估表明,在准确性和漏洞类型覆盖范围方面,FASVERIF 大幅优于采用不同技术的代表性工具。

英文摘要:

At present, millions of Ethereum smart contracts are created per year and attract financially motivated attackers. However, existing analyzers do not meet the need to precisely analyze the financial security of large numbers of contracts. In this paper, we propose and implement FASVERIF, an automated analyzer for fine-grained analysis of smart contracts' financial security. On the one hand, FASVERIF automatically generates models to be verified against security properties of smart contracts. On the other hand, our analyzer automatically generates the security properties, which is different from existing formal verifiers for smart contracts. As a result, FASVERIF can automatically process source code of smart contracts, and uses formal methods whenever possible to simultaneously maximize its accuracy. We evaluate FASVERIF on a vulnerabilities dataset by comparing it with other automatic tools. Our evaluation shows that FASVERIF greatly outperforms the representative tools using different technologies, with respect to accuracy and coverage of types of vulnerabilities.

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

↑