arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.01991cs.CYcs.CRcs.ITcs.SEmath.IT
收藏

DApps生态系统:映射智能合约交互的网络结构

DApps Ecosystems: Mapping the Network Structure of Smart Contract Interactions

Sabrina Aufiero, Giacomo Ibba, Silvia Bartolucci, Giuseppe Destefanis, Rumyana Neykova, Marco Ortu

AI总结:

本文重建并分析了dApp内部的智能合约与函数调用网络,揭示了其模块化结构和关键函数对网络连通性的核心作用,为识别漏洞和加强安全防护提供了重要依据。

摘要:

近年来,构建在以太坊等区块链平台上并使用Solidity等语言编写的去中心化应用(dApps),因其颠覆传统中心化系统的潜力而备受关注。尽管其采用迅速,但为了解这些应用底层代码结构而进行的研究却很有限。具体而言,每个dApp由多个智能合约组成,每个合约包含若干可被调用以触发特定事件(例如代币转移)的函数。本文重建并分析了dApp内部的合约与函数调用网络,这有助于揭示可能被恶意攻击者利用的漏洞。我们展示了去中心化在架构上是如何实现的,识别了可能影响系统鲁棒性和效率的常见开发模式与异常情况。我们发现了一致的网络结构,其特征是模块化、自给自足的合约以及复杂的函数交互网络,这表明区块链社区存在通用的编码实践。至关重要的是,每个dApp中少数关键函数在维持网络连通性方面起着关键作用,使其成为网络攻击的潜在目标,凸显了采取严格安全措施的必要性。

英文摘要:

In recent years, decentralized applications (dApps) built on blockchain platforms such as Ethereum and coded in languages such as Solidity, have gained attention for their potential to disrupt traditional centralized systems. Despite their rapid adoption, limited research has been conducted to understand the underlying code structure of these applications. In particular, each dApp is composed of multiple smart contracts, each containing a number of functions that can be called to trigger a specific event, e.g., a token transfer. In this paper, we reconstruct and analyse the network of contracts and functions calls within the dApp, which is helpful to unveil vulnerabilities that can be exploited by malicious attackers. We show how decentralization is architecturally implemented, identifying common development patterns and anomalies that could influence the system's robustness and efficiency. We find a consistent network structure characterized by modular, self-sufficient contracts and a complex web of function interactions, indicating common coding practices across the blockchain community. Critically, a small number of key functions within each dApp play a pivotal role in maintaining network connectivity, making them potential targets for cyber attacks and highlighting the need for robust security measures.

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

↑