升级的阴暗面:揭示智能合约升级中的安全风险
The Dark Side of Upgrades: Uncovering Security Risks in Smart Contract Upgrades
AI总结:
针对现有智能合约升级安全研究的局限,该研究构建了首个大规模升级行为数据集,提出8类升级风险分类体系,并发现4类被忽视的风险及大量相关问题,为智能合约升级安全防护提供支撑。
摘要:
智能合约升级因具备修改已部署合约的灵活性(例如修复漏洞或新增功能)而日益普及。与此同时,升级破坏了合约的不可篡改性,带来了重大安全隐患。现有研究虽已探讨合约升级的安全影响,但在升级行为收集与不安全因素识别方面存在局限。\n为解决这些局限,我们对升级行为的不安全因素开展了全面研究。首先,我们构建了包含83085个升级合约和20902条升级链的数据集。据我们所知,这是首个关于升级行为的大规模数据集,揭示了升级行为的多样性,暴露了公开披露方面的不足。其次,我们基于37起真实安全事件构建了不安全因素分类体系,划分出8类升级风险,首次完整呈现了与升级相关的不安全因素全貌。最后,我们调查了公众对这些风险的认知及现有缓解措施。研究结果表明,有4类安全风险被公众忽视且缺乏缓解手段。我们通过初步研究检测到这些升级风险,识别出31407个相关问题——这一发现引发了严重关切。
英文摘要:
Smart contract upgrades are increasingly common due to their flexibility in modifying deployed contracts, such as fixing bugs or adding new functionalities. Meanwhile, upgrades compromise the immutability of contracts, introducing significant security concerns. While existing research has explored the security impacts of contract upgrades, these studies are limited in collection of upgrade behaviors and identification of insecurities. To address these limitations, we conduct a comprehensive study on the insecurities of upgrade behaviors. First, we build a dataset containing 83,085 upgraded contracts and 20,902 upgrade chains. To our knowledge, this is the first large-scale dataset about upgrade behaviors, revealing their diversity and exposing gaps in public disclosure. Next, we develop a taxonomy of insecurities based on 37 real-world security incidents, categorizing eight types of upgrade risks and providing the first complete view of upgrade-related insecurities. Finally, we survey public awareness of these risks and existing mitigations. Our findings show that four types of security risks are overlooked by the public and lack mitigation measures. We detect these upgrade risks through a preliminary study, identifying 31,407 related issues - a finding that raises significant concerns.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。