Make npm and uv Wait Before Installing New Releases on macOS

When an attacker takes over a maintainer’s account and publishes a poisoned version of a popular package, the poisoned version usually lives for hours, not weeks. Somebody notices, the registry pulls it, and a clean version follows. The projects that get hurt are the ones that happened to install during those hours. A release-age gate closes off those hours: the package manager refuses to pick any version younger than a set number of days, so a release has to survive public scrutiny for a while before it can reach your machine. ...

31 min