Cybersecurity news

Jessica Doner

Back to the list

Hijacked npm and Go Packages Use VS Code Tasks to Deploy Python Infostealer

The Hacker News,

Hijacked npm and Go packages use VS Code tasks to deploy a Python infostealer on Windows, Linux, and macOS hosts.

Malware and ransomware

Overview

Researchers found two hijacked npm packagesA reusable web code library published to the public npm registry for developers to install and a cluster of Go packages that deploy a Python-based information stealerMalware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device on Windows, Linux, and macOS hosts. The attack targets developers by hiding execution inside a VS Code task that runs automatically when a project folder is opened. This method avoids common npm execution paths to stay compatible with npm v12 security hardenings. The malwareSoftware built to steal data, spy on users, lock files, or take control of a computer retrieves encryptedTurn plaintext into ciphertext with a key JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers from blockchainA shared digital ledger where transactions are grouped into linked blocks secured by cryptographic hashes transaction data and connects to attacker-controlled infrastructure. It then launches a socket.io backdoorA hidden way into a computer or program that skips the normal login check and deploys a Python infostealer that steals cryptocurrency walletsA software app or hardware device that stores the private keys needed to spend cryptocurrency and browser credentialsThe login details, such as a username and password or key, that prove who an account belongs to. The identified npm packages are named html-to-gutenberg and fetch-page-assets, which were uploaded on May 25, 2026, and are no longer available for download.

Terms in this story

npm packages
A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 lists the term
information stealer
Malware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. Victims often download an infostealer through a fake game crack or malicious ad, and the stolen login cookies are then sold to ransomware crews on criminal markets. Security+ objective 2.4 lists the term
malware
Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
encrypted
Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
blockchain
A shared digital ledger where transactions are grouped into linked blocks secured by cryptographic hashes. In security news, blockchain appears both in thefts from cryptocurrency services and when malware hides its command server address inside a public blockchain transaction. Security+ objective 1.4 lists the term
backdoor
A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
cryptocurrency wallets
A software app or hardware device that stores the private keys needed to spend cryptocurrency. If an infostealer copies the secret seed phrase or key file from a victim's cryptocurrency wallet, the attacker can drain the funds irreversibly in seconds.
credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
scripts
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
dependency
An external code library or package that a software project relies on to do part of its work. When a popular open-source dependency has a security bug or gets hijacked by an attacker, every application that imports that package inherits the risk.
registry
A central database of system settings on a computer or a public catalog that hosts software packages. In security news, the registry means either the operating system settings database where malware adds startup entries or a public package registry where developers download code libraries.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related