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

逆势而上:尽管开发者面临安全挑战,Solana仍展现出出人意料的韧性

Defying the Odds: Solana's Unexpected Resilience in Spite of the Security Challenges Faced by Developers

Sébastien Andreina, Tobias Cloosters, Lucas Davi, Jens-Rene Giesen, Marco Gutfleisch, Ghassan Karame, Alena Naiakshina, Houda Naji

AI总结:

本研究通过开发者实验与访谈发现Solana智能合约开发者安全能力不足,但已部署合约漏洞率低于0.3%,揭示了Anchor等框架对生态安全的支撑作用。

摘要:

Solana作为最受欢迎的去中心化应用部署区块链平台之一,获得了广泛关注。但我们发现,与Ethereum相比,目前缺乏关于Solana智能合约开发者如何处理安全问题、面临哪些挑战以及这些问题如何影响生态系统整体安全性的研究。为填补这一空白,我们开展了首个针对Solana平台的综合研究:先组织35名参与者完成时长90分钟的Solana智能合约代码审查任务,随后对其中7名参与者进行访谈。研究结果十分令人担忧:没有参与者能在代码审查任务中发现所有重要安全漏洞,且83%的参与者很可能会发布存在漏洞的智能合约。本研究还揭示了开发者在Solana智能合约开发中遭遇挑战的根本原因,表明亟需更完善的安全指导与资源。尽管存在这些挑战,我们对当前已部署的Solana智能合约的自动化分析却得出了出人意料的结果:漏洞(尤其是开发者研究中被指出最难发现的那类漏洞)的流行率低于0.3%。我们探究了这种反直觉韧性的成因,发现Anchor这类框架正帮助Solana开发者部署安全合约。

英文摘要:

Solana gained considerable attention as one of the most popular blockchain platforms for deploying decentralized applications. Compared to Ethereum, however, we observe a lack of research on how Solana smart contract developers handle security, what challenges they encounter, and how this affects the overall security of the ecosystem. To address this, we conducted the first comprehensive study on the Solana platform consisting of a 90-minute Solana smart contract code review task with 35 participants followed by interviews with a subset of seven participants. Our study shows, quite alarmingly, that none of the participants could detect all important security vulnerabilities in a code review task and that 83% of the participants are likely to release vulnerable smart contracts. Our study also sheds light on the root causes of developers' challenges with Solana smart contract development, suggesting the need for better security guidance and resources. In spite of these challenges, our automated analysis on currently deployed Solana smart contracts surprisingly suggests that the prevalence of vulnerabilities - especially those pointed out as the most challenging in our developer study - is below 0.3%. We explore the causes of this counter-intuitive resilience and show that frameworks, such as Anchor, are aiding Solana developers in deploying secure contracts.

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

↑