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

在智能合约中检测标准违规错误

Detecting Standard Violation Errors in Smart Contracts

Ao Li, Fan Long

摘要:

SOLAR是一种自动检测以太坊智能合约中违反标准错误的分析工具。给定智能合约的以太坊虚拟机(EVM)字节码和用户指定的来自ERC-20等技术标准的约束或不变量,SOLAR象征性地执行合约,探索所有可能的执行路径,并检查是否可能发起一系列恶意事务以违反指定的约束或不变式。我们的实验结果突出了太阳能在智能合同中发现新的错误的有效性。在评估的779份ERC-20和310份ERC-721智能合约中,SOLAR在197份易受攻击的合约中发现了255个标准违规错误,其中只有3个误报。我们的研究结果对操纵公开交易数字资产的关键智能合约中普遍存在的标准违规错误发出了警告

英文摘要:

We present SOLAR, a new analysis tool for automatically detecting standard violation errors in Ethereum smart contracts.Given the Ethereum Virtual Machine (EVM) bytecode of a smart contract and a user specified constraint or invariant derived from a technical standard such as ERC-20,SOLAR symbolically executes the contract, explores all possible execution paths, and checks whether it is possible to initiate a sequence of malicious transactions to violate the specified constraint or invariant. Our experimental results highlight the effectiveness of SOLAR in finding new errors in smart con-tracts. Out of the evaluated 779 ERC-20 and 310 ERC-721smart contracts, SOLAR found 255 standard violation errors in 197 vulnerable contracts with only three false positives.237 out of the 255 errors are zero-day errors that are not re-ported before. Our results sound the alarm on the prevalence of standard violation errors in critical smart contracts that manipulate publicly traded digital assets

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

↑