logoalt Hacker News

user3939382today at 3:51 PM2 repliesview on HN

If this were a universal default, would the strategy defeat itself?


Replies

zwilytoday at 5:00 PM

Even if everyone used it, the security scanners would still have time to do their static analysis of new packages. Basically, all the clients implementing a delay would create a de facto quarantine status for new packages so they can be examined before everyone starts installing them. (Why npm doesn't just implement that themselves, I do not know.)

Normal_gaussiantoday at 4:10 PM

No.

Many places run analyzers on published code; many security users have reason to shorten the period. The default period becomes the period where white hats have a chance to detect it and stop it passing the threshold.