logoalt Hacker News

Rohansitoday at 2:26 PM0 repliesview on HN

If postinstall scripts are restricted the people behind these attacks will switch to something else. Package code is executed automatically by Node when imported, which could be a good replacement. It'll probably run when tests run instead but it's still going to run for most people.