chiprook
← Software
SoftwareSeptember 29, 2026, 22:46

Left-pad incident explained: how 11 lines of JavaScript broke npm

On March 22, 2016, developer Azer Koçulu unpublished 273 packages from npm, including the 11-line left-pad function that Babel and Atom pulled in via transitive dependencies. Builds of thousands of projects failed for 2.5 hours until npm restored version 0.0.3 from backup. A week later npm introduced a 24-hour unpublish window.

Left-pad incident explained: how 11 lines of JavaScript broke npm
#Npm#Babel#Atom
Read next
Software

Microsoft admits September update broke Windows 11 File History, fix is optional

Security

librsvg and NanoSVG flaws trigger without JavaScript

Gadgets

Timekettle W4 Plus brings AI translation to earbuds with Babel OS 3.0

Security

Malicious JavaScript evaded VirusTotal in seven of eight storefront attacks