There’s a growing risk of maliciously crafted npm modules wreaking havoc on our Node.js applications.
I wrote a post over on my employers blog entitled The Dangers of Malicious Modules which explains a lot of these dangers. For example, did you know that a module which is loaded anywhere in your application’s dependency chain can completely change the behavior of any internal Node.js API’s?
In a related story, Protecting Node.js Applications from Zip Slip, I talk about a path traversal vulnerability when extracting archives containing directories with
.. as their names. This can be used to clobber existing files.
There are many attack vectors against Node.js applications and over time they will only become more and more of a lucrative target.
Latest posts by Thomas Hunter II (see all)
- Recent Concerns about Node.js Security - 2018-06-12
- Creating and Integrating a Node Lambda function with API Gateway - 2018-04-02
- Developing Cobalt Dungeon using Phaser and Cordova - 2018-03-27