Pinning Is Futile

Hao He, Bogdan Vasilescu, Christian Kästner · 2025

Read Pinning Is Futile by Hao He, Bogdan Vasilescu, Christian Kästner (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-06662.txt.

Description

Hao He, Bogdan Vasilescu, and Christian Kästner published a 2025 paper arguing that pinning software dependencies to exact versions does not protect against supply-chain attacks. After several famous incidents, security advice urged developers to pin every dependency rather than accept version ranges. Pinning has a cost, though: stuck versions age and keep known flaws. The authors tested whether the security benefit is real.

They simulated how the npm package system resolved dependencies at many past moments, with and without pinning. Pinning direct dependencies did raise maintenance costs, as expected. Surprisingly, in large dependency trees it also raised exposure to malicious updates. The quirk lies in how npm resolves nested versions. The authors then explore pinning done collectively, across the whole ecosystem, and suggest changes to npm that would enable it. Their advice: local pinning alone is futile; defense must be coordinated.

Catalog record

CREATORHao He, Bogdan Vasilescu, Christian Kästner
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE74 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2502-06662

Browse the full library · About the Tower of Babel