Rendered at 10:27:19 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
supriyo-biswas 1 days ago [-]
Is any form of code analysis out of the question? Static and dynamic analysis of the code would seem like a promising idea rather than just trying to defer the update and hence the problem.
sieabahlpark 10 hours ago [-]
[dead]
weinzierl 1 days ago [-]
Seen favorably, staged publishing is a band aid. Seen more realistically I believe that in the long run it will even hurt our efforts for more secure infra.
buildfocus 1 days ago [-]
How could it possibly hurt?
For trusted publishing, it's not a band-aid, it's a significant improvement that kills an entire class of CI takeover publish attacks. I'm sure attackers will find another way but it's a big gap this is closing up.
koinedad 1 days ago [-]
Nice…maybe will help some of the recent attacks
turkeyboi 1 days ago [-]
If maintainers actually use it
Klaster_1 1 days ago [-]
This is the biggest question I also had after reading the blog post. Given the recent chain of attacks, wouldn't it make sense to enforce staged publish by default or at least gradually move over to it?
sieabahlpark 10 hours ago [-]
[dead]
madarco 1 days ago [-]
meanwhile pnpm 10.x by default won't donwload packages younger than a day
stabbles 1 days ago [-]
Is one day enough to find vulnerabilities? Who keeps an eye on new releases? Otherwise the problem continues to exist, just delayed by one day.
captn3m0 1 days ago [-]
There’s almost a dozen cybersecurity companies scanning NPM publishes in real-time and analysing them.
jamietanna 1 days ago [-]
*11.x
warmwaffles 19 hours ago [-]
Perfect, now we'll start seeing people automate auto publishing because they don't want to explicitly push a button to publish it.
For trusted publishing, it's not a band-aid, it's a significant improvement that kills an entire class of CI takeover publish attacks. I'm sure attackers will find another way but it's a big gap this is closing up.