Axios is a small piece of JavaScript code that helps software talk to the internet, and it is everywhere: it is downloaded tens of millions of times a week. Overnight from March 30 into March 31, an attacker took over the npm account of one of its main developers, swapped in their own email address to block recovery, and published two poisoned versions, 1.14.1 and 0.30.4. npm is the public store where developers get code like this.
The new versions quietly pulled in an extra package that installed a remote access trojan, malware that gives an attacker full control of a computer, on Windows, macOS and Linux. It also went looking for cloud keys, database passwords and API tokens, then tried to erase its own tracks.
The tainted releases were live from about 00:21 to 03:15 UTC on March 31 before being pulled. John Hultquist of Google's Threat Intelligence Group attributed the attack to a suspected North Korean group tracked as UNC1069.
Security firm Aikido put the stakes plainly: anyone who downloaded the code "should assume their system is compromised."