Re:Ask HN: How secure is the JavaScript NPM eco-system?
by Blackstone4 on Wednesday May 23, 2018 @07:18AM
(#17133140)
True but with NPM, I feel like the surface area is much larger because of the number of modules.
If you use Golang, then you'll mostly be using the stdlib plus some libraries. A much smaller surface area and checking that code becomes more feasible.
This is not specific to NPM. You can ask the same question for any language repository. And the answer will be in the most cases same.