AtomGraph: 通过多模态GCN解决智能合约中的原子性违规问题
AtomGraph: Tackling Atomicity Violation in Smart Contracts using Multimodal GCNs
AI总结:
AtomGraph通过多模态GCN检测智能合约中的原子性违规,实现高准确率和F1分数,优于现有工具。
摘要:
智能合约是区块链技术的核心组成部分,在各种场景中被广泛部署。然而,原子性违规已成为潜在的安全风险。现有分析工具往往缺乏有效检测这些问题所需的精度。为了解决这一挑战,我们引入了AtomGraph,一个自动框架,用于检测原子性违规。该框架利用图卷积网络(GCN)通过多模态特征学习和融合来识别原子性违规。具体来说,通过协同学习机制,模型同时从两个异构模态中学习:从合约的控制流图(CFG)中提取结构拓扑特征,以及从其指令序列中发现深层语义。我们设计了一种自适应加权融合机制,以动态调整每个模态特征的权重,以实现最优的特征融合。最后,GCN在合约层面检测原子性违规。全面的实验评估表明,AtomGraph实现了96.88%的准确率和96.97%的F1分数,优于现有工具。此外,与拼接融合模型相比,AtomGraph将F1分数提高了6.4%,证明了其在智能合约安全检测中的潜力。
英文摘要:
Smart contracts are a core component of blockchain technology and are widely deployed across various scenarios. However, atomicity violations have become a potential security risk. Existing analysis tools often lack the precision required to detect these issues effectively. To address this challenge, we introduce AtomGraph, an automated framework designed for detecting atomicity violations. This framework leverages Graph Convolutional Networks (GCN) to identify atomicity violations through multimodal feature learning and fusion. Specifically, driven by a collaborative learning mechanism, the model simultaneously learns from two heterogeneous modalities: extracting structural topological features from the contract's Control Flow Graph (CFG) and uncovering deep semantics from its opcode sequence. We designed an adaptive weighted fusion mechanism to dynamically adjust the weights of features from each modality to achieve optimal feature fusion. Finally, GCN detects graph-level atomicity violation on the contract. Comprehensive experimental evaluations demonstrate that AtomGraph achieves 96.88% accuracy and 96.97% F1 score, outperforming existing tools. Furthermore, compared to the concatenation fusion model, AtomGraph improves the F1 score by 6.4%, proving its potential in smart contract security detection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。