arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.00890cs.CRcs.SE
收藏

智能合约安全分析工具在哪些方面存在不足?

Where Do Smart Contract Security Analyzers Fall Short?

NYU Abu Dhabi(纽约大学阿布扎比分校)

Tamer Abdelaziz, Salma Alsaghir, Karim Ali

AI总结:

研究评估了六种智能合约安全分析工具在真实合约中的表现,发现准确性差异大、假阳性率高且运行时间长,揭示了工具在实际应用中的不足。

摘要:

智能合约支撑着价值高昂的生态系统,如去中心化金融(DeFi),但持续出现的漏洞仍导致数亿美元的损失。尽管存在许多能够检测此类缺陷的安全分析工具,但现实世界中的攻击仍然频繁,引发了这些问题工具是否真正有效,还是由于开发者信任度低而使用不足的疑问。先前的基准测试是在合成或仅包含漏洞的合约数据集上评估分析工具的,限制了它们测量假阳性、假阴性和驱动采用的可使用性因素的能力。为了弥补这一差距,我们提出了一种混合方法研究,结合大规模基准测试与从业者见解。我们评估了六个广泛使用的分析工具(即Confuzzius、Dlva、Mythril、Osiris、Oyente和Slither)在653个现实世界智能合约上的表现,这些合约涵盖了OWASP智能合约十大漏洞中的三个高影响漏洞类别(即重入、自杀合约终止和整数运算错误)。我们的结果表明,准确性存在显著差异(F1=31.2至94.6%),假阳性率较高(高达32.6%),每个合约的运行时间超过700秒。然后,我们调查了150名专业开发者和审计师,以了解他们如何使用和看待这些工具。我们的发现表明,过多的假阳性、模糊的解释和长分析时间是实践中信任和采用的主要障碍。通过将可测量的性能差距与开发者感知联系起来,我们为提高智能合约安全分析工具的精度、可解释性和可使用性提供了具体的改进建议。

英文摘要:

Smart contracts underpin high-value ecosystems such as decentralized finance (DeFi), yet recurring vulnerabilities continue to cause losses worth billions of dollars. Although numerous security analyzers that detect such flaws exist, real-world attacks remain frequent, raising the question of whether these tools are truly effective or simply under-used due to low developer trust. Prior benchmarks have evaluated analyzers on synthetic or vulnerable-only contract datasets, limiting their ability to measure false positives, false negatives, and usability factors that drive adoption. To close this gap, we present a mixed-methods study that combines large-scale benchmarking with practitioner insights. We evaluate six widely used analyzers (i.e., Confuzzius, Dlva, Mythril, Osiris, Oyente, and Slither) on 653 real-world smart contracts that cover three high-impact vulnerability classes from the OWASP Smart Contract Top Ten (i.e., reentrancy, suicidal contract termination, and integer arithmetic errors). Our results show substantial variation in accuracy (F1 = 31.2 to 94.6%), high false-positive rates (up to 32.6%), and runtimes exceeding 700 seconds per contract. We then survey 150 professional developers and auditors to understand how they use and perceive these tools. Our findings reveal that excessive false positives, vague explanations, and long analysis times are the main barriers to trust and adoption in practice. By linking measurable performance gaps to developer perceptions, we provide concrete recommendations for improving the precision, explainability, and usability of smart-contract security analyzers.

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

↑