Malicious npm packages caught installing remote access trojans
Found on ZD Net on Monday, 14 December 2020
The name of the two packages was jdb.js and db-json.js., and both were created by the same author and described themselves as tools to help developers work with JSON files typically generated by database applications.
The post-install script performed basic reconnaissance of the infected host and then attempted to download and run a file named patch.exe (VT scan) that later installed njRAT, also known as Bladabindi, a very popular remote access trojan that has been used in espionage and data theft operations since 2015.
Pulling in software managed by unknown third parties with unknown backgrounds is such a great idea.