| Navigation Search | Another npm supply-chain attack
	Tuesday September 16, 2025. 03:51 PM , from LWN.net
 
The Socket.dev blog describes this week's attack on JavaScript packages in the npm repository. A malicious update to @ctrl/tinycolor (2.2M weekly downloads) was detected on npm as part of a broader supply chain attack that impacted more than 40 packages spanning multiple maintainers. The compromised versions include a function (NpmModule.updatePackage) that downloads a package tarball, modifies package.json, injects a local script (bundle.js), repacks the archive, and republishes it, enabling automatic trojanization of downstream packages. There is some more information in this Krebs on Security article. 
https://lwn.net/Articles/1038326/
 Related News | 25 sources Current Date 
			Oct, Fri 31 - 23:25 CET
	
		 | 







 Read more at LWN.net
Read more at LWN.net




