Two hacked npm packages and a group of Go packages that are intended to install a Python-based information stealer on vulnerable Windows, Linux, and macOS hosts have been discovered by cybersecurity researchers.
According to JFrog’s technical research, this assault uses lifecycle scripts to avoid the most popular npm execution paths, possibly in an effort to stay “compatible” with npm v12’s security hardenings.
The package is set up to start automatically when the project folder is opened in Visual Studio Code, concealing execution within a task. The malware then connects to attacker-controlled infrastructure, runs a socket.io backdoor, extracts encrypted JavaScript from blockchain transaction data, and finally installs a Python infostealer
The names of the identified npm packages are listed below –
- html-to-gutenberg
- fetch-page-assets (which lists html-to-gutenberg as a dependency)
The two packages can no longer be downloaded from the registry after being posted to npm on May 25, 2026. The attack begins with a covert Microsoft Visual Studio Code (VS Code) job called read more about Hijacked npm and Go Packages Use VS Code Tasks to Deploy Python Infostealer
Get up to date on the latest cybersecurity news and enhance your knowledge of cybersecurity with our thorough coverage of the dangers, breaches, and solutions.
