EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Pinning Is Futile: You Need More Than Local Dependency Versioning to Defend against Supply Chain Attacks

Hao He, Bogdan Vasilescu, Christian Kästner

Proceedings of the ACM on Software Engineering · 19.06.2025 · 2 (FSE) · 266-289

DOI: 10.1145/3715728 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 19.06.2025. Verfasst von Hao He und 2 weiteren Autor:innen. Die Arbeit wurde bisher 14-mal zitiert (Crossref) und nennt 98 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Science Foundation.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Recent high-profile incidents in open-source software have greatly raised practitioner attention on software supply chain attacks. To guard against potential malicious package updates, security practitioners advocate pinning dependency to specific versions rather than floating in version ranges. However, it remains controversial whether pinning carries a meaningful security benefit that outweighs the cost of maintaining outdated and possibly vulnerable dependencies. In this paper, we quantify, through counterfactual analysis and simulations, the security and maintenance impact of version constraints in the npm ecosystem. By simulating dependency resolutions over historical time points, we find that pinning direct dependencies not only (as expected) increases the cost of maintaining vulnerable and outdated dependencies, but also (surprisingly) even increases the risk of exposure to malicious package updates in larger dependency graphs due to the specifics of npm’s dependency resolution mechanism. Finally, we explore collective pinning strategies to secure the ecosystem against supply chain attacks, suggesting specific changes to npm to enable such interventions. Our study provides guidance for practitioners and tool designers to manage their supply chains more securely.

Förderung

  • National Science Foundation

Zitieren

APA

He, H., Vasilescu, B., & Kästner, C. (2025). Pinning Is Futile: You Need More Than Local Dependency Versioning to Defend against Supply Chain Attacks. Proceedings of the ACM on Software Engineering, 2(FSE), 266-289. https://doi.org/10.1145/3715728

Vancouver

He H, Vasilescu B, Kästner C. Pinning Is Futile: You Need More Than Local Dependency Versioning to Defend against Supply Chain Attacks. Proceedings of the ACM on Software Engineering. 2025;2(FSE):266-289. doi:10.1145/3715728

BibTeX
@article{He2025,
  author = {He, Hao and Vasilescu, Bogdan and Kästner, Christian},
  title = {Pinning Is Futile: You Need More Than Local Dependency Versioning to Defend against Supply Chain Attacks},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2025},
  volume = {2},
  number = {FSE},
  pages = {266--289},
  doi = {10.1145/3715728}
}
Kostenlos starten →