计算机科学
人工智能
可扩展性
图形
深度学习
编码(集合论)
知识图
源代码
特征(语言学)
机器学习
脆弱性(计算)
特征学习
编码
特征工程
理论计算机科学
数据库
计算机安全
程序设计语言
基因
生物化学
哲学
语言学
集合(抽象数据类型)
化学
作者
Zhenguang Liu,Peng Qian,Xiang Wang,Lei Zhu,Qinming He,Shouling Ji
标识
DOI:10.24963/ijcai.2021/379
摘要
Smart contracts hold digital coins worth billions of dollars, their security issues have drawn extensive attention in the past years. Towards smart contract vulnerability detection, conventional methods heavily rely on fixed expert rules, leading to low accuracy and poor scalability. Recent deep learning approaches alleviate this issue but fail to encode useful expert knowledge. In this paper, we explore combining deep learning with expert patterns in an explainable fashion. Specifically, we develop automatic tools to extract expert patterns from the source code. We then cast the code into a semantic graph to extract deep graph features. Thereafter, the global graph feature and local expert patterns are fused to cooperate and approach the final prediction, while yielding their interpretable weights. Experiments are conducted on all available smart contracts with source code in two platforms, Ethereum and VNT Chain. Empirically, our system significantly outperforms state-of-the-art methods. Our code is released.
科研通智能强力驱动
Strongly Powered by AbleSci AI