Your npm install was safe. What happens when the package runs?
AI Summary
For years, one of the first questions we asked about a suspicious npm package was whether it ran a pre-install or postinstall script. Those hooks can execute before a developer has written a line of code that uses the dependency. Blocking them is a sensible defense.
Discussion
Sign in to join the discussion.
Loading comments…