Skip to content
Conference

OS3: A Shift-Left Framework for Pre-Installation Risk Assessment in Open-Source npm Package Dependencies

Aug 2026 · 2026 International Conference on Modern Sustainable Systems (CMSS) · pp. 1374-1382 · 0 citations · 20 references

Abstract

Most software composition analysis (SCA) tools evaluate open-source packages only after they are already installed, by which point a compromised dependency has already reached the codebase. This paper presents OS3, a prototype that shifts this assessment earlier: it resolves an npm package's full dependency tree, checks every node against the Open Source Vulnerability (OSV) database, and uses a NetworkX-based graph to trace which vulnerabilities are actually reachable from the root package rather than isolated in unused branches. These signals feed a fully specified scoring formula, with no black-box model and no external exploit-likelihood feed, that produces a 0-100 score and a four-tier risk classification a developer can recompute by hand. OS3 is implemented as a PyPI CLI, a web dashboard, and a REST API, with a separate RAG-based assistant for explaining results in natural language. Each pipeline stage was functionally validated end-to-end on representative npm packages; large-scale comparative benchmarking against existing SCA tools was not performed and is identified as future work.

View source

Similar papers

Book Open access Oct 2026

When Dependencies Depend: A Large-Scale Study on Conditional Dependencies and Their Security Implications in C/C++

Condor is developed, a static analysis approach that parses CMake build files to extract conditional dependencies together with their inclusion logic, revealing a C/C++-specific landscape of dependency variability that is difficult for existing SCA tools to capture.

Yi-Feng Di, Jun-Wei Zhang, Tian-Yi Zhang · 0 citations
Conference Sep 2026

VISOR: Automated Vulnerability Assessment of Software Repositories

Modern software systems increasingly depend on open-source and commercial third-party components, which can expose them to cybersecurity risks present within these external dependencies. The vulnerability assessment of such components remains predominantly manual, creating bottlenecks that slow remediation efforts. Thi...

Negar Emami, Christian Göttel, Shuai Guo et al. · 0 citations
Open access Sep 2026

AIaCGateGuard: A Security-First Pipeline for Benchmarking LLM- and SLM-Generated Infrastructure-as-Code

AIACGATEGUARD is presented, an open-source, fully automated pipeline for evaluating the security compliance of Infrastructure-as-Code (IaC) generated by Large and Small Language Models (LLMs/SLMs), producing permodel, per-scenario security compliance reports.

Francis Luis Santos Vargas, R. Mansilha, Diego Kreutz · 0 citations
Preprint Oct 2026

VulnBump: A Benchmark for Fixing Vulnerable Dependencies in Real Projects While Keeping the Build and Tests Green

Software composition analysis (SCA) tools report far more vulnerable dependencies than teams fix: in Snyk Open Source production data, 94% of vulnerability findings have a known fixed version, yet only about 10% are resolved. Agentic coding tools could close this gap, but no benchmark evaluates them on vulnerability-dr...

Gabija Pasiunaite, R. McMorrow, Brian Clark et al. · 0 citations
#software testing Preprint Sep 2026

PatchRisk: Forecasting Future Vulnerability Exposure in Open-Source Dependency Networks

PatchRisk is constructed, a leakage-aware benchmark from Open Source Vulnerability advisories and deps.dev dependency graphs for npm and PyPI that improves AUPRC over the strongest TimeOnly baseline and remains stable across smaller scales and package-group shuffle robustness tests.

Ashfaq Ali Shafin, Khandaker Mamun Ahmed · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.