Xiangfu Zhao

Prof. Xiangfu Zhao


Research Focus & Metrics

Academic Career Length

20Years (2007-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
8 February 2024 in Computer Networks
Verified
Journal Article
Closed access
ZZZixian Zhen
Zixian Zhen
XZXiangfu Zhao
Xiangfu Zhao
JZJinkai Zhang
Jinkai Zhang
YWYichen Wang
Yichen Wang
HCHaiyue Chen
Haiyue Chen

30 September 2024 in IEEE Transactions on Network Science and Engineering
Verified
Journal Article
Closed access
YWYichen Wang
Yichen Wang
XZXiangfu Zhao
Xiangfu Zhao
LHLong He
Long He
ZZZixian Zhen
Zixian Zhen
HCHaiyue Chen
Haiyue Chen
Smart contracts have been widely used for their capability of giving blockchain a user-defined logic. In recent years, several smart contract security incidents have resulted in enormous financial losses. Therefore, it is important to detect vulnerabilities in smart contracts before deployment. Machine learning has been used recently in smart contract vulnerability detection. Unfortunately, due to the loss of information during feature extraction, the detection results are unsatisfactory. Hence, we propose a novel approach called ContractGNN, which combines a new concept of a vulnerability sub-graph (VSG) with graph neural networks (GNNs). Compared with traditional methods, checking a VSG is more accurate because the VSG removes irrelevant vertexes in the control flow graph. Furthermore, a VSG can be aggregated and simplified, thus improving the efficiency of message passing in a GNN. Based on aggregated VSGs, we design a new feature extraction method that preserves semantic information, the order of opcode, and control flows of smart contracts. Moreover, we compare a large number of GNN classification models and select the best one to implement ContractGNN. We then test ContractGNN on 48,493 real-world smart contracts, and the experimental results show that ContractGNN outperforms other smart contract vulnerability detection tools, with an average F1 score of 89.70%.

29 January 2023 in Applied Sciences
Verified
Journal Article
Open access
PDF file
JFJiajia Fei
Jiajia Fei
XCXiaohan Chen
Xiaohan Chen
XZXiangfu Zhao
Xiangfu Zhao
As is well known, smart contracts on the blockchain store plenty of digital assets, and these contracts deployed on the blockchain are difficult to be modified. For this reason, the analysis and detection of smart contract vulnerabilities have received extensive attention. Smartcheck, a typical Java-implemented static analysis tool of smart contracts, is capable of converting Solidity source code into path diagrams based on the lexical and syntactic analysis, and finds smart contract vulnerabilities by path matching. Although Smartcheck can analyze most of the real-world vulnerabilities, some imperceptible vulnerabilities may be ignored, causing huge economic losses. In order to address these issues, we develop a new tool named MSmart to analyze the vulnerabilities of high risk such as timestamp dependence vulnerabilities, integer overflow vulnerabilities, self-destruct vulnerabilities, etc. MSmart converts the smart contract source code into an intermediate representation, and looks for smart contract vulnerabilities based on intermediate representation and XPath rules. We add new intermediate representation rules of Smartcheck to detect more kinds of vulnerabilities and optimize existing rules to suit the complexity of smart contract. We also implemented smart contract batch detection to shorten the time it takes to find vulnerabilities. To analysis the performance of MSmart, we collect 6000 real-world contracts from Etherscan and design some comparative experiments with other tools. The results of experiment show that MSmart is able to analyze related vulnerabilities better, and false positives and false negatives have been reduced due to our improvements.

27 January 2014 in IEEE Transactions on Systems, Man, and Cybernetics: Systems
Verified
Journal Article
Open access
GLGianfranco Lamperti
Gianfranco Lamperti
XZXiangfu Zhao
Xiangfu Zhao
A gap still exists between complex discrete-event systems (DESs) and the effectiveness of the state-of-the-art diagnosis techniques, where faults are defined at component levels and diagnoses incorporate the occurrences of component faults. All these approaches to diagnosis are context-free, in as much diagnosis is anchored to components, irrespective of the context in which they are embedded. By contrast, since complex DESs are naturally organized in hierarchies of contexts, different diagnosis rules are to be defined for different contexts. Diagnosis rules are specified based on associations between context-sensitive faults and regular expressions, called semantic patterns. Since the alphabets of such regular expressions are stratified, so that the semantic patterns of a context are defined based on the interface symbols of its subcontexts only, separation of concerns is achieved, and the expressive power of diagnosis is enhanced. This new approach to diagnosis is bound to seemingly contradictory but nonetheless possible scenarios: a DES can be normal despite the faulty behavior of a number of its components; also, it can be faulty despite the normal behavior of all its components.

11 April 2025 in Information Fusion
Verified
Journal Article
Closed access
TWTengfei Wang
Tengfei Wang
XZXiangfu Zhao
Xiangfu Zhao
JZJiarui Zhang
Jiarui Zhang

8 November 2023 in Expert Systems with Applications
Verified
Journal Article
Closed access
ZLZhaowei Liu
Zhaowei Liu
YWYixian Wang
Yixian Wang
SWShenqiang Wang
Shenqiang Wang
XZXiangfu Zhao
Xiangfu Zhao
HWHaiyang Wang
Haiyang Wang
HYHaoyu Yin
Haoyu Yin