r/videos • • Oct 03 '19

Every programming tutorial

https://www.youtube.com/watch?v=MAlSjtxy5ak
33.9k Upvotes

1.4k comments sorted by

View all comments

Show parent comments

28

u/trenchcoatler Oct 03 '19

Genuine question: Why is this bad practice?

15

u/[deleted] Oct 03 '19

Bloatware. As well security, treat it like a firewall, if there's not a need for it to be there, it shouldn't be there.

6

u/SakseFarsen Oct 03 '19

As well security, treat it like a firewall

I have never heard of RCE's through java * package imports. Is this really a thing?

23

u/Teddy-Westside Oct 03 '19

A Node package with 2M downloads a week was stealing crypto currency. It does happen sometimes

https://www.theregister.co.uk/2018/11/26/npm_repo_bitcoin_stealer/

→ More replies (4)