Pnpm has a new setting to stave off supply chain attacks
1–10 of 152 posts
Re: Pnpm has a new setting to stave off supply chain attacks
#2Re: Pnpm has a new setting to stave off supply chain attacks
#3If everyone is going to wait 3 days before installing the latest version of a compromised package, it will take more than 3 days to detect an incident.
More seriously, automated scanners seem to do a good job already of finding malicious packages. It's a wonder that npm themselves haven't already deployed an automated countermeasure.
Re: Pnpm has a new setting to stave off supply chain attacks
#4Re: Pnpm has a new setting to stave off supply chain attacks
#5Should have included the units in the name or required a choice of unit to be selected as part of the value. Sorry, just a bugbear of mine.
Re: Pnpm has a new setting to stave off supply chain attacks
#6Does the JS ecosystem really move so fast that you can’t wait a month or two before updating your packages?
Re: Pnpm has a new setting to stave off supply chain attacks
#7Should have included the units in the name or required a choice of unit to be selected as part of the value. Sorry, just a bugbear of mine.
Re: Pnpm has a new setting to stave off supply chain attacks
#8If everyone is going to wait 3 days before installing the latest version of a compromised package, it will take more than 3 days to detect an incident.
A lot of people will still use npm, so they'll be the canaries in the coal mine :) More seriously, automated scanners seem to do a good job already of finding malicious packages. It's a wonder that npm themselves haven't already deployed an automated countermeasure.
[1] https://blogs.microsoft.com/blog/2024/05/03/prioritizing-sec...
Re: Pnpm has a new setting to stave off supply chain attacks
#9A better (not perfect) solution: Every package should by AI analysed on an update before it is public available, to detect dangerous code and set a rating.
In package.json should be a rating defined, when remote package is below that value it could be updated, if it is higher a warning should appear.
But this will cost, but i hope, that companies like github, etc. will allow package-Repositories to use their services for free. Or we should find a way, to distribute this services to us (the users and devs) like a BOINC-Client.
Re: Pnpm has a new setting to stave off supply chain attacks
#10That solve not really the problem. A better (not perfect) solution: Every package should by AI analysed on an update before it is public available, to detect dangerous code and set a rating. In package.json should be a rating defined, when remote package is below that value it could be updated, if it is higher a warning should appear. But this will cost, but i hope, that companies like github, etc. will allow package…