Chengwei Liu
· 2 previous affiliations
- Nanyang Technological UniversitySince 2019
- Postdoc · Since 2023
- PhD student · 2019–2023
- Nankai UniversityCurrent
- Current
Research Overview
Chengwei Liu focuses on software supply chain security, the empirical analysis of open-source ecosystems, and the automation of scientific research through large language model (LLM) agents. His work primarily addresses the security and compatibility challenges inherent in modern software development, which relies heavily on third-party libraries (TPLs). By analyzing dependency resolution rules, vulnerability propagation, and semantic versioning across diverse ecosystems—including NPM, Maven, PyPI, Golang, and Rust—Liu develops methodologies to detect and remediate risks that threaten software stability and integrity. More recently, his research has expanded to explore the lifecycle of LLM safety and the development of multi-agent frameworks designed to automate the full spectrum of academic research.
Research Trajectory
Liu’s early research focused on the structural complexities of dependency management within the JavaScript and Java ecosystems. In 2022, he conducted a systematic study of vulnerability propagation in the NPM ecosystem, identifying how transitive dependencies can amplify security threats. This work, Demystifying the Vulnerability Propagation and Its Evolution via Dependency Trees in the NPM Ecosystem, addressed a critical gap in existing reachability analysis by accounting for NPM-specific dependency resolution rules. By modeling these rules during real installations, Liu demonstrated that conventional analysis often results in wrongly resolved dependencies, thereby miscalculating the actual risk profile of a project.
Concurrent with his work on NPM, Liu investigated the reliability of version control in Java. In Has My Release Disobeyed Semantic Versioning? Static Detection Based on Semantic Differencing, he explored the phenomenon of semantic breaking (SemB) issues. These occur when APIs maintain identical signatures across upgrades but exhibit inconsistent internal semantics, leading to runtime crashes despite successful compilation. Liu’s contribution involved the development of static detection methods to capture these internal changes, providing a mechanism to alert developers when a release violates Semantic Versioning (SemVer) principles.
In 2023, Liu’s focus shifted toward the remediation of identified vulnerabilities and the broader security landscape of the Python ecosystem. He addressed the practical difficulties of Software Composition Analysis (SCA) in Compatible Remediation on Vulnerabilities from Third-Party Libraries for Java Projects. Recognizing that many automated security patches are rejected by developers due to compatibility side effects, such as compilation failures, this work proposed a remediation strategy that prioritizes project stability alongside security. During this period, Liu also participated in empirical studies of the PyPI ecosystem, contributing to the understanding of malicious code propagation. In An Empirical Study of Malicious Code In PyPI Ecosystem, he helped develop an automated data collection framework to characterize the lifecycle of malicious packages, which often disguise themselves as legitimate libraries to compromise end-user systems.
By 2024, Liu’s research expanded to encompass legal risks and the nuances of emerging programming languages. He investigated the complexities of software licensing in Catch the Butterfly: Peeking into the Terms and Conflicts among SPDX Licenses, which analyzed potential incompatibilities within the SPDX license landscape. This work provided a high-quality dataset to help developers navigate legal risks associated with TPL adoption. Additionally, he contributed to studies on the Golang and Rust ecosystems. His work on Golang examined the unique decentralized dependency management of the language, where commits are often used as versions, while his participation in Rust research, such as Demystifying Compiler Unstable Feature Usage and Impacts in the Rust Ecosystem, analyzed how unstable compiler features propagate through transitive dependencies to cause large-scale failures.
In 2025, Liu’s work has increasingly integrated artificial intelligence into the research process itself. He proposed a framework for A Vision for Auto Research with LLM Agents, which utilizes multi-agent systems to automate the scientific lifecycle, from literature review and ideation to experimentation and peer review response. This trajectory reflects a shift from analyzing software ecosystems to building autonomous systems capable of conducting such analyses. He also continues to address fundamental software engineering problems, such as Python version incompatibilities, and has contributed to large-scale surveys regarding the full-stack safety of LLMs, covering data, training, and deployment phases.
Current Directions
Liu’s current research is concentrated on two primary pillars: the refinement of automated research frameworks and the enhancement of software supply chain integrity through advanced detection tools.
The first pillar involves the development of Agent-Based Auto Research (ABAR). This direction seeks to mitigate cognitive overload and fragmented workflows in academia by coordinating modular LLM agents. The goal is to create a scalable system that can maintain methodological rigor while accelerating the pace of scientific inquiry. This work builds on his previous experience in empirical methodology and systematic analysis, applying those principles to the design of autonomous agents.
The second pillar continues his long-standing work in ecosystem health. This includes the detection of versioning errors and the mitigation of security risks in TPLs. Recent work in this area includes the development of PyChecker, a tool designed to identify Python distribution version errors that lead to installation and runtime failures. By providing root cause analysis and suggested fixes, Liu aims to improve the robustness of the Python ecosystem, which remains a critical component of modern data science and AI infrastructure.
Representative Work
Liu’s research is characterized by large-scale empirical studies and the development of practical tools for software maintenance and security. The following papers represent his core contributions to the field:
- Demystifying the Vulnerability Propagation and Its Evolution via Dependency Trees in the NPM Ecosystem (ICSE, 2022): This first-author paper established a more accurate model for understanding how vulnerabilities move through the NPM ecosystem by accounting for specific dependency resolution rules.
- A Vision for Auto Research with LLM Agents (2025): As the lead author, Liu outlines a structured multi-agent framework to automate the full lifecycle of scientific research, addressing issues of methodological expertise and workflow optimization.
- Has My Release Disobeyed Semantic Versioning? Static Detection Based on Semantic Differencing (2022): This work introduces a static detection approach to identify semantic breaking changes in Java libraries, helping developers maintain compliance with SemVer rules.
- Compatible Remediation on Vulnerabilities from Third-Party Libraries for Java Projects (ICSE, 2023): Liu contributed to the development of remediation strategies that fix security vulnerabilities in Java projects without introducing breaking changes or compilation failures.
- Catch the Butterfly: Peeking into the Terms and Conflicts among SPDX Licenses (2024): This research provides a comprehensive analysis of license conflicts in TPLs, offering a high-quality dataset to mitigate legal risks in software development.
- An Empirical Study of Malicious Code In PyPI Ecosystem (ASE, 2023): Liu participated in this large-scale study of 4,669 malicious packages in PyPI, characterizing the techniques used by attackers to propagate malicious code through package managers.
Liu has also contributed to broader software engineering and accessibility topics, including the evaluation of Java quality assurance tools and the development of ASTER, a system for testing the accessibility of automatic speech recognition for individuals with stutters. His work consistently emphasizes the need for high-quality datasets and systematic frameworks to address the evolving complexities of the global software ecosystem.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake