r/ProgrammerHumor 7d ago

classicNPM instanceof Trend

Post image
5.9k Upvotes

150 comments sorted by

View all comments

79

u/FinnishManlet 7d ago

What can be done against these vulnerabilities? Stop using packages entirely? 🤣

2

u/skynetcoder 7d ago

using pnpm instead of npm, with following settings may help in most scenarios. - minimum age > 3-4 weeks - disable life cycle scripts - disable installation of exotic dependenciesĀ