logoalt Hacker News

user34283today at 2:21 PM1 replyview on HN

The compromised packages were removed from the registry within hours.


Replies

brabeltoday at 4:33 PM

Because everyone got updates immediately. If the default was 7 days, almost no one would get updates immediately but after 7 days, and now someone only finds about after 7 days. Unless there is a poor soul checking packages as they are published that can alert the registry before 7 days pass, though I imagine very few do that and hence a dedicated attacker could influence them to not look too hard.

show 1 reply