News for hackers. Stuff that matters.
Re:Malicious software libraries found in PyPI posing as well... by gkya on Friday September 15, 2017 @08:11AM (#15256423)
Five hundred thousand packages, am I reading it right? I dont believe top ten OS package managers combined would reach that number. Either this is a typo or it's crazy.
Re:Malicious software libraries found in PyPI posing as well... by raesene6 on Friday September 15, 2017 @08:14AM (#15256437)
Not a typo, http://www.modulecounts.com/ has the details. npm is adding 497/day at the moment.
Re:Malicious software libraries found in PyPI posing as well... by gkya on Friday September 15, 2017 @09:27AM (#15256943)
This [1] is npm growth compared to anything else. God this can't be safe nor sane...

[1] https://imgur.com/a/enjvR

Re:Malicious software libraries found in PyPI posing as well... by eeZah7Ux on Friday September 15, 2017 @09:51AM (#15257115)
The left-pad disaster has been predicted well in advance...
Re:Malicious software libraries found in PyPI posing as well... by concede_pluto on Friday September 15, 2017 @02:11PM (#15259332)
There's nothing especially awful about left-pad being its own package, the disaster was because a huge number of developers were betting on npm to somehow be highly available (despite being donated by its admins at no cost and with no committed SLA) rather than vendoring their deps.
Re:Malicious software libraries found in PyPI posing as well... by eeZah7Ux on Saturday September 16, 2017 @11:54AM (#15265174)
Vendoring thousands of tiny libs is even worse. Trusting many lesser known, tiny libs is more risky than few, big well known ones.

Also, they are not vetted and there are much more opportunities for an attacker to sneak in a backdoored lib on the edge of the dependency graph.

Finally, due to vendoring there's no way to receive timely drop-in security fixes for all dependencies from a trusted source.

Re:Malicious software libraries found in PyPI posing as well... by gkya on Saturday September 16, 2017 @05:54PM (#15266950)
One can both vendor and use the package manager to fetch updates. Just add the node-modules directory to your VCS.

The thing with node is that AFAIK it requires you to have libraries for what in most languages would be in the standard library. Maybe someone should start a "stdnode" project where the most popular / successful libraries for generic tasks are integrated into a dependable, maintained de-facto standard library, with an eye on quality and sanity, and community / Joyent funding.

Re:Malicious software libraries found in PyPI posing as well... by mbrock on Friday September 15, 2017 @08:13AM (#15256433)
JS is the most popular language on GitHub by far, and npm is a public site where anyone can instantly upload as many new packages as they want...
Re:Malicious software libraries found in PyPI posing as well... by pjmlp on Friday September 15, 2017 @09:11AM (#15256823)
JS devs usually make packages that have single functions....