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.
翻译:目前,数百万Eceenum智能合同每年订立,并吸引有财政动机的攻击者;然而,现有的分析师没有满足准确分析大量合同财务安全的必要性;在本文件中,我们提议并实施FASVERIF,这是一个对智能合同财务安全进行精细分析的自动分析师;一方面,FASVERIF自动生成模型,以对照智能合同的安全性能进行核查;另一方面,我们的分析师自动生成安全性能,这与现有智能合同的正式核查员不同;因此,FASVERIF可以自动处理智能合同源代码,并尽可能使用正式方法,同时使其尽可能的准确性最大化;我们通过与其他自动工具进行比较,对一套弱点数据进行评估,对FASVERIF进行评估。我们的评估表明,FASVERIF在使用不同技术时,在脆弱性种类的准确性和覆盖面方面,大大超出代表性工具。