Huaigaung Wu

Dr. Huaigaung Wu

orcid

Research Focus & Metrics

Academic Career Length

21Years (2006-Present)

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

Representative Publications

View All Publications
5 January 2023 in Applied Sciences
Verified
Journal Article
Open access
PDF file
HWHuaigaung Wu
Huaigaung Wu
HDHanjie Dong
Hanjie Dong
亚何亚琼 何
亚琼 何
QDQianheng Duan
Qianheng Duan
A smart contract, as an important part of blockchain technology, has attracted considerable interest from both industry and academia. It provides the basis for the realization of a variety of practical blockchain applications and plays a crucial role in the blockchain ecosystem. While it also holds a large number of digital assets, the frequent occurrence of smart contract vulnerabilities have caused huge economic losses and destroyed the blockchain-based credit system. Currently, the security and reliability of smart contracts have become a new focus of research, and there are a number of smart contract vulnerability detection methods, such as traditional detection tools based on static or dynamic analysis. However, most of them often rely on expert rules, and therefore have poor scalability and high false negative and false positive rates. Recent deep learning methods alleviate this issue, but without considering the semantic information and context of source code. To this end, we propose a hybrid attention mechanism (HAM) model to detect security vulnerabilities in smart contracts. We extract code fragments from the source code, which focus on key points of vulnerability. We conduct extensive experiments on two public smart contract datasets (a total of 24,957 contracts). Empirical results show remarkable accuracy improvement over the state-of-the art methods on five kinds of vulnerabilities, where the detection accuracy could achieve 93.36%, 80.85%, 82.56%, 85.62%, and 82.19% for reentrancy, arithmetic vulnerability, unchecked return value, timestamp dependency, and tx.origin, respectively.

7 March 2024 in Neural Processing Letters
Verified
Journal Article
Open access
PDF file
YLYanting Li
Yanting Li
SWShuai Wang
Shuai Wang
JJjunwei JIN
junwei JIN
HTHongwei Tao
Hongwei Tao
JNJiaofen Nan
Jiaofen Nan
CCC.L. Philip Chen
C.L. Philip Chen
Representation-based methods have found widespread applications in various classification tasks. However, these methods cannot deal effectively with imbalanced data scenarios. They tend to neglect the importance of minority samples, resulting in bias toward the majority class. To address this limitation, we propose a density-based discriminative nonnegative representation approach for imbalanced classification tasks. First, a new class-specific regularization term is incorporated into the framework of a nonnegative representation based classifier (NRC) to reduce the correlation between classes and improve the discrimination ability of the NRC. Second, a weight matrix is generated based on the hybrid density information of each sample’s neighbors and the decision boundary, which can assign larger weights to minority samples and thus reduce the preference for the majority class. Furthermore, the resulting model can be efficiently optimized through the alternating direction method of multipliers. Extensive experimental results demonstrate that our proposed method is superior to numerous state-of-the-art imbalanced learning methods.

9 May 2023 in Electronics
Verified
Journal Article
Open access
PDF file
亚何亚琼 何
亚琼 何
HDHanjie Dong
Hanjie Dong
HWHuaigaung Wu
Huaigaung Wu
QDQianheng Duan
Qianheng Duan
A smart contract is a special form of computer program that runs on a blockchain and provides a new way to implement financial and business transactions in a conflict-free and transparent environment. In blockchain systems such as Ethereum, smart contracts can handle and autonomously transfer assets of considerable value to other parties. Hence, it is particularly important to ensure that smart contracts function as intended since bugs or vulnerabilities may lead, and indeed have led, to substantial economic losses and erosion of trust for blockchain. While a number of approaches and tools have been developed to find vulnerabilities, formal methods present the highest level of confidence in the security of smart contracts. In this paper, we propose a formal solution to model a smart contract based on colored Petri nets (CPNs). Herein, we focus on the most common type of security bugs in smart contract, i.e., reentrancy bugs, which led to a serious financial loss of around USD 34 million for the Cream Finance project in 2021. We present a hierarchical CPN modelling method to analyze potential security vulnerabilities at the contract’s source code level. Then, modeling analysis methods such as correlation matrix, state space report and state space graph generated via CPN Tools simulation are exploited for formal analysis of smart contracts. The example shows the full state space and wrong path in accordance with our expected results. Finally, the conclusion was verified on the Ethereum network based on the Remix platform.

16 November 2021 in Soft Computing
Verified
Journal Article
Closed access
PDF file
ZLZuhe Li
Zuhe Li
QSQian Sun
Qian Sun
QGQingbing Guo
Qingbing Guo
HWHuaigaung Wu
Huaigaung Wu
LDLujuan Deng
Lujuan Deng
YCYu Chen
Yu Chen

17 April 2023 in Journal of Intelligent Information Systems
Verified
Journal Article
Closed access
PDF file
SLShuaichao Li
Shuaichao Li
HWHuaigaung Wu
Huaigaung Wu

17 October 2024 in Symmetry
Verified
Journal Article
Open access
PDF file
HWHuaigaung Wu
Huaigaung Wu
YPYibo Peng
Yibo Peng
亚何亚琼 何
亚琼 何
SLSiqi Lu
Siqi Lu
Ensuring the absence of vulnerabilities or flaws in smart contracts before their deployment is crucial for the smooth progress of subsequent work. Existing detection methods heavily rely on expert rules, resulting in low robustness and accuracy. Therefore, we propose EDSCVD, an enhanced deep learning vulnerability detection model based on dual-channel networks. Firstly, the contract fragments are preprocessed by BERT into the required word embeddings. Next, we utilized adversarial training FGM to the word embeddings to generate perturbations, thereby producing symmetric adversarial samples and enhancing the robustness of the model. Then, the dual-channel model combining BiLSTM and CNN is utilized for feature training to obtain more comprehensive and symmetric information on temporal and local contract features.Finally, the combined output features are passed through a classifier to classify and detect contract vulnerabilities. Experimental results show that our EDSCVD exhibits excellent detection performance in the detection of classical reentrancy vulnerabilities, timestamp dependencies, and integer overflow vulnerabilities.