<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2026-11-29T14:49:20Z</responseDate><request verb="GetRecord" identifier="oai:dr.ntu.edu.sg:10356/168554" metadataPrefix="dim">https://dr.ntu.edu.sg/server/oai/request</request><GetRecord><record><header><identifier>oai:dr.ntu.edu.sg:10356/168554</identifier><datestamp>2026-11-25T21:52:31Z</datestamp><setSpec>com_10356_983</setSpec><setSpec>com_10356_19</setSpec><setSpec>com_10356_11</setSpec><setSpec>col_10356_2142</setSpec></header><metadata><dim:dim xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:doc="http://www.lyncode.com/xoai" xsi:schemaLocation="http://www.dspace.org/xmlns/dspace/dim http://www.dspace.org/schema/dim.xsd">
   <dim:field mdschema="dc" element="contributor" qualifier="author" lang="en_US">Liu, Chengwei</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisor" lang="en_US">Liu Yang</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="school" lang="en_US" authority="0064fbb7-8b8b-47d3-a556-4cf196429817" confidence="500">School of Computer Science and Engineering</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="research" lang="en_US">Cyber Security Lab</dim:field>
   <dim:field mdschema="dc" element="contributor" qualifier="supervisoremail" lang="en_US">yangliu@ntu.edu.sg</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="accessioned">2023-06-07T02:53:46Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="available">2023-06-07T02:53:46Z</dim:field>
   <dim:field mdschema="dc" element="date" qualifier="issued">2023</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="citation" lang="en_US">Liu,  C. (2023). Data driven security analysis of open source software. Doctoral thesis, Nanyang Technological University, Singapore. https://hdl.handle.net/10356/168554</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="uri" lang="en">https://hdl.handle.net/10356/168554</dim:field>
   <dim:field mdschema="dc" element="identifier" qualifier="doi">10.32657/10356/168554</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="abstract" lang="en_US">Third-party libraries (TPLs) with rich functionalities have facilitated the fast devel-&#xd;
opment of modern software, leading to the explosive growth of open-source ecosys-&#xd;
tems and software supply chains. However, the wide reuse of TPLs as dependencies,&#xd;
especially those commonly used ones, also poses a new threat that TPLs are black&#xd;
boxes to developers, and the hidden security threats could expose downstream&#xd;
users to potential risks of being attacked. With the global awareness of security in&#xd;
the open-source supply chain, many existing research works have been carried out&#xd;
to identify, understand and mitigate these potential risks. However, most existing&#xd;
works and tools are conducted at coarse-grained levels, i.e., identifying TPL de-&#xd;
pendencies by reasoning the dependency networks, and detecting and remediating&#xd;
vulnerabilities by their existence while neglecting their triggerability, which largely&#xd;
compromises the effectiveness of existing solutions.&#xd;
&#xd;
To fill this gap, we carry out several research works from different aspects to in-&#xd;
vestigate, measure, and mitigate such potential security threats from upstream&#xd;
TPLs.&#xd;
&#xd;
First, to understand the vulnerability threats from TPL dependencies, we carry&#xd;
out an empirical study to demystify the vulnerability impact and its evolution in&#xd;
the NPM ecosystem, which is one of the largest ecosystems. Specifically, we first&#xd;
propose and construct a complete Dependency-Vulnerability Knowledge Graph&#xd;
(DVGraph) capturing the dependency relations among NPM packages and based&#xd;
on it, we design a Dependency Tree Resolution Algorithm (DTResolver) to precisely&#xd;
resolve dependency trees without the real installation. Based on them, we further&#xd;
carry out an ecosystem-wide empirical study to retrieve insights into vulnerability&#xd;
impact propagation and its evolution in the NPM ecosystem.&#xd;
&#xd;
Next, since vulnerabilities existing in user dependencies do not indicate the user&#xd;
projects are deemed to be affected by these vulnerabilities, we extend from the&#xd;
package level to the code level to reduce false positives of vulnerability impact by call graphs. To fill this gap, we implement a static call graph generator (JSReach) to&#xd;
check the Reachability of vulnerabilities for Node.js, it computes static call graphs&#xd;
not only for Node.js projects with full dependencies but also for cases where only&#xd;
dependency paths are provided, so that ecosystem-wide vulnerability impact anal-&#xd;
ysis could be conducted in a more precise way. Our experiments show that JSReach&#xd;
not only achieves high precision (87%) and recall (95%) when full dependencies are&#xd;
available but also preserves most of the reachable functions (88%) when only de-&#xd;
pendency paths are provided. Moreover, JSReach can successfully exclude 78% of&#xd;
unreachable vulnerabilities with no reachable ones missed.&#xd;
&#xd;
Third, based on DVGraph and JSReach, we carry out an ecosystem-wide study to&#xd;
re-investigate the impact of vulnerabilities at the more fine-grained aspect, the&#xd;
reachability of vulnerabilities. Our findings unveil the characteristics of how vul-&#xd;
nerabilities propagate to threaten downstream dependents via API calls in the&#xd;
NPM ecosystem. Based on them, we further propose a metric of reachability to&#xd;
indicate the possibility of user projects being affected by given vulnerabilities and&#xd;
implement a light-weighted tool (VREstimate) that can prioritize vulnerability re-&#xd;
mediation by Estimating Vulnerability Reachability based on empirical statistics.&#xd;
Our experiments validate that 90.28% of reachable vulnerabilities can be reflected&#xd;
by the Reachability metric and VREstimate can successfully prioritize reachable&#xd;
vulnerabilities with higher Reachability metrics, which can be further adapted to&#xd;
assist traditional SCA by prioritizing vulnerability remediation.&#xd;
&#xd;
Fourth, beyond vulnerabilities, unreliable maintenance could also result in poor&#xd;
quality and security of TPLs, while such untrustworthiness, especially for critical&#xd;
TPLs, could further lead to potential threats to the communities. Therefore, from&#xd;
the perspective of securing the development process of critical TPLs, we first pro-&#xd;
pose a systematic method for filtering out packages that are most critical in the&#xd;
Maven ecosystem based on the Fused Maven Dependency Graph (MavenFG), and&#xd;
next, we investigate the development process of these critical packages and con-&#xd;
clude the weakness points during the maintenance of these critical packages. Based&#xd;
on them, we conclude our findings and provide countermeasures that are possible&#xd;
to guide further open-source governance.&#xd;
&#xd;
In summary, these research works have unveiled the vulnerability threats in the&#xd;
NPM ecosystem, at different granularity, and have proposed well-validated tools&#xd;
from different aspects to mitigate such threats from different aspects. Implications&#xd;
and further research directions are also expected to be explored in future works.</dim:field>
   <dim:field mdschema="dc" element="description" qualifier="degree" lang="en_US">Doctor of Philosophy</dim:field>
   <dim:field mdschema="dc" element="language" qualifier="iso" lang="en_US">en</dim:field>
   <dim:field mdschema="dc" element="publisher" lang="en_US">Nanyang Technological University</dim:field>
   <dim:field mdschema="dc" element="rights" lang="en_US">This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).</dim:field>
   <dim:field mdschema="dc" element="subject" lang="en_US">Engineering::Computer science and engineering</dim:field>
   <dim:field mdschema="dc" element="title" lang="en_US">Data driven security analysis of open source software</dim:field>
   <dim:field mdschema="dc" element="type" lang="en_US">Thesis-Doctor of Philosophy</dim:field>
   <dim:field mdschema="dc" element="format" qualifier="mimetype">application/pdf</dim:field>
   <dim:field mdschema="dspace" element="entity" qualifier="type">Publication</dim:field>
   <dim:field mdschema="cris" element="lastimport" qualifier="scopus">2026-11-25T21:52:29Z</dim:field>
   <dim:field mdschema="cris" element="lastimport" qualifier="wos">2025-08-14T00:22:18Z</dim:field>
   <dim:field mdschema="datacite" element="rights">open.access</dim:field>
   <dim:field mdschema="datacite" element="available">2025-06-05</dim:field>open.accessopen.access<dim:field mdschema="cerif" element="openaire" authority="" confidence="-1">&lt;Publication xmlns="https://www.openaire.eu/cerif-profile/1.1/" id="191d4c2f-7ee9-4312-b345-434d1a4cbf9e">
	&lt;Type xmlns="https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types">http://purl.org/coar/resource_type/c_1843&lt;/Type>
	&lt;Language>en&lt;/Language>
   	&lt;Title>Data driven security analysis of open source software&lt;/Title>
   	&lt;PublishedIn>
    	&lt;Publication>
      	&lt;/Publication>
   	&lt;/PublishedIn>
   	&lt;PublicationDate>2023&lt;/PublicationDate>
   	&lt;DOI>10.32657/10356/168554&lt;/DOI>
   	&lt;Authors>
      	&lt;Author>
        	&lt;DisplayName>Liu, Chengwei&lt;/DisplayName>
         	&lt;Affiliation>
         		&lt;OrgUnit>
         		&lt;/OrgUnit>
         	&lt;/Affiliation>
      	&lt;/Author>
	&lt;/Authors>
   	&lt;Editors>
	&lt;/Editors>
    &lt;Publishers>
        &lt;Publisher>
            &lt;DisplayName>Nanyang Technological University&lt;/DisplayName>
            &lt;OrgUnit />
        &lt;/Publisher>
    &lt;/Publishers>
    &lt;Keyword>Engineering::Computer science and engineering&lt;/Keyword>
   	&lt;Abstract>Third-party libraries (TPLs) with rich functionalities have facilitated the fast devel-&#xd;
opment of modern software, leading to the explosive growth of open-source ecosys-&#xd;
tems and software supply chains. However, the wide reuse of TPLs as dependencies,&#xd;
especially those commonly used ones, also poses a new threat that TPLs are black&#xd;
boxes to developers, and the hidden security threats could expose downstream&#xd;
users to potential risks of being attacked. With the global awareness of security in&#xd;
the open-source supply chain, many existing research works have been carried out&#xd;
to identify, understand and mitigate these potential risks. However, most existing&#xd;
works and tools are conducted at coarse-grained levels, i.e., identifying TPL de-&#xd;
pendencies by reasoning the dependency networks, and detecting and remediating&#xd;
vulnerabilities by their existence while neglecting their triggerability, which largely&#xd;
compromises the effectiveness of existing solutions.&#xd;
&#xd;
To fill this gap, we carry out several research works from different aspects to in-&#xd;
vestigate, measure, and mitigate such potential security threats from upstream&#xd;
TPLs.&#xd;
&#xd;
First, to understand the vulnerability threats from TPL dependencies, we carry&#xd;
out an empirical study to demystify the vulnerability impact and its evolution in&#xd;
the NPM ecosystem, which is one of the largest ecosystems. Specifically, we first&#xd;
propose and construct a complete Dependency-Vulnerability Knowledge Graph&#xd;
(DVGraph) capturing the dependency relations among NPM packages and based&#xd;
on it, we design a Dependency Tree Resolution Algorithm (DTResolver) to precisely&#xd;
resolve dependency trees without the real installation. Based on them, we further&#xd;
carry out an ecosystem-wide empirical study to retrieve insights into vulnerability&#xd;
impact propagation and its evolution in the NPM ecosystem.&#xd;
&#xd;
Next, since vulnerabilities existing in user dependencies do not indicate the user&#xd;
projects are deemed to be affected by these vulnerabilities, we extend from the&#xd;
package level to the code level to reduce false positives of vulnerability impact by call graphs. To fill this gap, we implement a static call graph generator (JSReach) to&#xd;
check the Reachability of vulnerabilities for Node.js, it computes static call graphs&#xd;
not only for Node.js projects with full dependencies but also for cases where only&#xd;
dependency paths are provided, so that ecosystem-wide vulnerability impact anal-&#xd;
ysis could be conducted in a more precise way. Our experiments show that JSReach&#xd;
not only achieves high precision (87%) and recall (95%) when full dependencies are&#xd;
available but also preserves most of the reachable functions (88%) when only de-&#xd;
pendency paths are provided. Moreover, JSReach can successfully exclude 78% of&#xd;
unreachable vulnerabilities with no reachable ones missed.&#xd;
&#xd;
Third, based on DVGraph and JSReach, we carry out an ecosystem-wide study to&#xd;
re-investigate the impact of vulnerabilities at the more fine-grained aspect, the&#xd;
reachability of vulnerabilities. Our findings unveil the characteristics of how vul-&#xd;
nerabilities propagate to threaten downstream dependents via API calls in the&#xd;
NPM ecosystem. Based on them, we further propose a metric of reachability to&#xd;
indicate the possibility of user projects being affected by given vulnerabilities and&#xd;
implement a light-weighted tool (VREstimate) that can prioritize vulnerability re-&#xd;
mediation by Estimating Vulnerability Reachability based on empirical statistics.&#xd;
Our experiments validate that 90.28% of reachable vulnerabilities can be reflected&#xd;
by the Reachability metric and VREstimate can successfully prioritize reachable&#xd;
vulnerabilities with higher Reachability metrics, which can be further adapted to&#xd;
assist traditional SCA by prioritizing vulnerability remediation.&#xd;
&#xd;
Fourth, beyond vulnerabilities, unreliable maintenance could also result in poor&#xd;
quality and security of TPLs, while such untrustworthiness, especially for critical&#xd;
TPLs, could further lead to potential threats to the communities. Therefore, from&#xd;
the perspective of securing the development process of critical TPLs, we first pro-&#xd;
pose a systematic method for filtering out packages that are most critical in the&#xd;
Maven ecosystem based on the Fused Maven Dependency Graph (MavenFG), and&#xd;
next, we investigate the development process of these critical packages and con-&#xd;
clude the weakness points during the maintenance of these critical packages. Based&#xd;
on them, we conclude our findings and provide countermeasures that are possible&#xd;
to guide further open-source governance.&#xd;
&#xd;
In summary, these research works have unveiled the vulnerability threats in the&#xd;
NPM ecosystem, at different granularity, and have proposed well-validated tools&#xd;
from different aspects to mitigate such threats from different aspects. Implications&#xd;
and further research directions are also expected to be explored in future works.&lt;/Abstract>
	&lt;Access xmlns="http://purl.org/coar/access_right" 
    >
    &lt;/Access>
&lt;/Publication>
</dim:field>
</dim:dim></metadata></record></GetRecord></OAI-PMH>