7/29/2026 at 2:32:32 PM
>> high-impact npm accounts are now put into a read-only mode for 72 hours when they change their email or use a 2FA recovery code. This delay allows maintainers time to respond and recover the account before their account can be used to start an attack.'what time shall we put here?'
'what's the longest hangover you ever had?'
'let's put 72 hours'
by alpineman
7/29/2026 at 8:03:36 PM
I paid $8 for the recently expired email domain of the sole author of NPM package "foreach", so then control to ship any code I wanted to 70k companies was just a support ticket or password reset away. 72 hours would not make a difference here.Talked to NPM about this when it went viral, and once again all they could say was enabling package signing, even optionally, would discourage inexperienced people from contributing packages as they would be pressured to learn basic security and key management.
Sorry, if you are unwilling to take 10 minutes to learn how to sign your code, you have no business maintaining software releases millions of people depend on. Full stop.
But NPM will not even make it -optional- and rejects all PRs to implement this going back a decade. So no one feels pressured into basic security. Cool.
by lrvick
7/29/2026 at 3:10:30 PM
A weekend plus a day to deal with things seems like a decent minimum duration when it’s somewhat arbitrary what the right number is.by Waterluvian
7/29/2026 at 3:25:19 PM
I don't think so at all. People go on vacation all the time. This should be 30 days not 3.by datakan
7/29/2026 at 3:31:02 PM
That's the usual runaway problem, right? Why not 60 then? People go on sabbaticals! etc etc.I feel like the only way to be wrong for this class of problem is to believe that there's a singular right answer. Just pick something reasonable (like how weekends are a fairly common thing, so don't make it shorter than 48 hours). Start there, then see how much of an issue persists. No matter what, at scale you'll find someone complaining that the number is too little, and people complaining that it's too much. Eventually you just have to tell the complainers to deal with it.
by Waterluvian
7/29/2026 at 3:57:15 PM
There is a big difference between 3 days when someone may be sick or traveling and not looking and 30 which aligns better with 99% of scenarios this may be an issue with. 3 days is absurd. Even password apps with kill switches will default to 7 days.Cyber attacks will frequently happen on a Friday just for this scenario, they anticipate no ones looking over the weekend.
by datakan
7/29/2026 at 4:22:01 PM
And 365 days probably aligns with 100% of scenarios. It doesn't mean it's a good idea, because the longer the delay is the more downsides you also get.Blocking a maintainer from pushing updates for a full month after changing their e-mail would be obviously absurd. So Github would have to add a way of enabling maintainers to super-uper-duper confirm the change and cut the delay short. Which is likely not currently possible, hence starting with a shorter delay.
by tredre3
7/29/2026 at 5:01:37 PM
It sounds like we should plot 'count of compromised repos' against 'time taken for maintainer to initiate a resolution', and pick something just after the inflection point.by Normal_gaussian
7/29/2026 at 3:39:42 PM
It's often not the maintainer that removes a poisoned release, it's the npm security team/tools. So unless the whole team takes a month off, we're all safe.by normie3000