Re:Security vulnerability in #Drupal contrib module puts 120...
by devwastaken on Saturday April 15, 2017 @12:22AM
(#14119383)
That actually is a really good point about packages on NPM, or rather the culture of a 'package for everything.'. All it would take is somebody to lose their github account or go rogue, for one popular package that requires their package to also be compromised, and then hundreds to thousands of sites are silently vulnerable.
Seriously. A standard ES6 JS project will run you to actual hundreds of packages. Thats a huge attack surface.
Wait, are you talking about npm or Drupal? (only kind of kidding)