Hacker Newsnew | past | comments | ask | show | jobs | submit | povils's commentslogin

A


Funny! :D the said alien should then talk with Lithuanian because every month name more or less is describes what is happening during that month


I think you would end up in a rabbit hole. Do you also review your all GNU/Linux libraries and dependencies? Probably not because you trust them. Thus I think we should be pragmatic and review only libraries which are created by unknown/untrusted creators.


Well I think you should at least do two things:

- avoid dependencies where you reasonably can. Less moving parts are usually good

- just have a look at the dependencies of your dependencies - this might help you decide which one to trust


Open-source projects can and do change maintainers. Adding a dependency means you not only trust the maintainer now, but you also trust all future maintainers of the project.

Dependencies are more dangerous (in this sense) because they compile into your application, so they can do anything they like to your customer data. A malicious tool could monitor your keystrokes and phone home, but it won't get installed on your production server.

A further problem with npm dependencies is that they get told when they're operating in dev mode and when in production mode. So malicious code can hide itself during dev and test, and then only do the bad thing on the production server.


Debian packages are maintained (and quickly vetted) by a rather small group of people (who vet each other). npm packages can be published by anyone without review.

On a somewhat related topic: https://drewdevault.com/2019/12/09/Developers-shouldnt-distr...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: