Jinan Jiang

Jinan Jiang

Auto-generated profile, based on publicly available information

Jinan Jiang

Department of Computing, The Hong Kong Polytechnic University, Hong Kong, China

Research Focus & Metrics

Academic Career Length

3Years (2024-Present)

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

Representative Publications

View All Publications
19 November 2024 in IEEE Transactions on Software Engineering
Verified
Journal Article
Closed access
JJJinan Jiang
Jinan Jiang
ZLZihao Li
Zihao Li
HQHaoran Qin
Haoran Qin
MJMuhui Jiang
Muhui Jiang
DLDaniel Luo
Daniel Luo
TCTing Chen
Ting Chen
Smart contracts are automated programs stored on a blockchain, featuring unique attributes such as permissionlessness, trustlessness, immutability, and transparency. These properties underpin an array of unprecedented decentralized services. Compiled into bytecodes, Ethereum smart contracts are executed within the Ethereum Virtual Machine (EVM). Ethereum’s distinct gas mechanism assigns a price to each bytecode execution, incentivizing resource-efficient computing. However, a disconnect exists between conventional coding practices and the less intuitive gas consumption computation mechanism, resulting in inadvertent gas wastage. Gas-wasting code smells at the source code level have been studied in various related works; however, the task of manually identifying such code smells by reading through codes and reasoning about them is both time-consuming and economically inefficient. In this work, we propose to leverage Large Language Models (LLMs), which have seen a surge in popularity recently, to facilitate undertaking the labor-intensive part of the code-smell-finding pipeline. In particular, we focus on Solidity, the predominant programming language for Ethereum smart contracts. Overall, we identified 26 gas-wasting code smells, out of which 13 were not presented in previous papers. On average, applying these code smells led to a reduction of approximately 10.534% in deployment costs and 21.528% in message call costs across our test codes. We further make a report on each of the identified code smells with associated example contracts sourced from either previous literature or recently deployed contracts.

27 September 2024 in ACM Transactions on Software Engineering and Methodology
Verified
Journal Article
Open access
MJMuhui Jiang
Muhui Jiang
JJJinan Jiang
Jinan Jiang
TWTao Wu
Tao Wu
ZMZuchao Ma
Zuchao Ma
DLDaniel Luo
Daniel Luo
YZYajin Zhou
Yajin Zhou
The Linux kernel is popular and well-maintained. Over the past decade, around 860 thousand commits were merged with hundreds of vulnerabilities (i.e., 223 on average) disclosed every year, taking the total lines of code to 35.1 million in 2022. Many algorithms have been proposed to detect the vulnerabilities, but few studied how they were induced. To fill this gap, we conduct the first empirical study on the Kernel Vulnerability Inducing Commits (KVIC), the commits that induced vulnerabilities in the Linux kernel. We utilized six different methods on identifying the Kernel Vulnerability Fixing Commits (KVFCs), the commits that fix vulnerabilities in the Linux kernel, and proposed the other four different methods for identifying KVICs by using the identified KVFCs as a bridge. In total, we constructed the first dataset of KVICs with 1,240 KVICs for 1,335 CVEs. We conducted a thorough analysis on the characteristics, purposes, and involved human factors of the KVICs and obtained many interesting findings and insights. For example, KVICs usually have limited reviewers and can still be induced by experienced authors or maintainers. Based on these insights, we proposed several suggestions to the Linux community to help mitigate the induction of KVICs.

21 December 2024 in Epilepsia
Verified
Journal Article
Open access
Jerome ClatotJerome Clatot
Jerome Clatot
CTChristopher H. Thompson
Christopher H. Thompson
SSSusan Sotardi
Susan Sotardi
JJJinan Jiang
Jinan Jiang
MTMarina Trivisano
Marina Trivisano
EGEthan M. Goldberg
Ethan M. Goldberg
Objective: SCN2A encodes the voltage‐gated sodium (Na+) channel α subunit Na V 1.2, which is important for the generation and forward and back propagation of action potentials in neurons. Genetic variants in SCN2A are associated with a spectrum of neurodevelopmental disorders. However, the mechanisms whereby variation in SCN2A leads to disease remains incompletely understood, and the full spectrum of SCN2A ‐related disorders may not be fully delineated. Methods: Here, we identified seven de novo heterozygous variants in SCN2A in eight individuals with developmental and epileptic encephalopathy (DEE) accompanied by prominent malformation of cortical development (MCD). We characterized the electrophysiological properties of Na + currents in human embryonic kidney (HEK) cells transfected with the adult (A) or neonatal (N) isoform of wild‐type (WT) and variant Na V 1.2 using manual and automated whole‐cell voltage clamp recording. Results: The neonatal isoforms of all SCN2A variants studied exhibit gain of function (GoF) with a large depolarized shift in steady‐state inactivation, creating a markedly enhanced window current common across all four variants tested. Computational modeling demonstrated that expression of the Na V 1.2‐p.Met1770Leu‐N variant in a developing neocortical pyramidal neuron results in hyperexcitability. Significance: These results support expansion of the clinical spectrum of SCN2A ‐related disorders and the association of genetic variation in SCN2A with MCD, which suggests previously undescribed roles for SCN2A in fetal brain development.

18 February 2025 in IEEE Transactions on Software Engineering
Verified
Journal Article
Closed access
JMJunjie Ma
Junjie Ma
MJMuhui Jiang
Muhui Jiang
JJJinan Jiang
Jinan Jiang
DLDaniel Luo
Daniel Luo
YHYufeng Hu
Yufeng Hu
FZFengwei Zhang
Fengwei Zhang
The Decentralized Autonomous Organization (DAO) has emerged as a popular governance solution for decentralized applications (dApps), enabling them to manage their members across the world. This structure ensures that no single entity can arbitrarily control the dApp without approval from the majority of members. However, despite its advantages, DAOs face several challenges within their governance processes that can compromise their integrity and potentially lead to the loss of dApp assets. In this paper, we first provided an overview of the DAO governance process within the blockchain. Next, we identified issues within 3 key components of the governance process: the Governance Contract, Documentation, and Proposal. Regarding the Governance Contract, malicious developers could embed backdoors or malicious code to manipulate the governance process. In terms of Documentation, inadequate or unclear documentation from developers may prevent members from effectively participating, increasing the risk of undetected governance attacks or enabling a small group of members to dominate the process. Lastly, with Proposals, members could submit malicious proposals with embedded malicious code in an attempt to gain control of the DAO. To address these issues, we developed automated methods to detect such vulnerabilities. To investigate the prevalence of these issues within the current DAO ecosystem, we constructed a state-of-the-art dataset that includes 3,348 DAOs, 144 documentation, and 65,436 proposals across 9 different blockchains. Our analysis reveals that many DAO developers and members have not given sufficient attention to these issues. For the Governance Contract, 176 DAOs allow external entities to control their governance contracts, while one DAO permits developers to arbitrarily change the contract’s logic. In terms of Documentation, only 71 DAOs provide adequate guidance for their members on governance processes. As for Proposals, over 90% of the examined proposals (32,500) fail to provide consistent descriptions and code for their members, highlighting a significant gap in transparency within the DAO governance process. For a better DAO governance ecosystem, DAO developers and members can utilize the methods to identify and address issues within the governance process.

7 October 2026
Verified
Conference Paper
Open access
JJJinan Jiang
Jinan Jiang
JCJinzhao Chu
Jinzhao Chu
PXPengyu Xue
Pengyu Xue
XPXinghao Peng
Xinghao Peng
HQHaoran Qin
Haoran Qin
DLDaniel Luo
Daniel Luo