JavaScript, Nodejs, Security, NPM.
malicious module can modify the require global in a way which is hard to detect and will have repercussions throughout the entire application: { // Require the popular `request` module const request = require('request') // Monkey-patch so every request now runs our function const RequestOrig =