▲ | znort_ 2 hours ago | |
npm in itself isn't special at all, maybe the userbase is but that's irrelevant because the mitigation is pretty easy and 99.9999% effective, works for every package manager and boils down to: 1- thoroughly and fully analyze any dependency tree you plan to include 2- immediately freeze all its versions 3- never update without very good reason or without repeating 1 and 2 in other words: simply be professional, face logical consequences if you aren't. if you think one package manager is "safer" than others because magic reasons odds are you'll find out the hard way sooner or later. | ||
▲ | tbrownaw 2 hours ago | parent | next [-] | |
Your item #1 there may be simple, but that's not the same as being easy. | ||
▲ | moi2388 an hour ago | parent | prev [-] | |
Good luck with nr 1 in the js ecosystem and its 30k dependencies 50 branches deep per package |