Cybersecurity news

Jessica Doner

Back to the list

Tensorlake npm Package Compromised: Anatomy of the Shai-Hulud Worm, Hostage Token Wipe-Switch, and AI Supply Chain Attacks

The CyberSec Guru,

A compromised npm package for an AI agent platform spread a worm variant, exposing enterprise pipelines and developer workstations.

AI and securityAttacks and breachesMalware and ransomware

Overview

On October 8, 2026, security researchers found that a popular software package called Tensorlake had been compromised with a malicious worm. The attackers took over a verified maintainer'sThe developer or small team responsible for reviewing changes and publishing releases for an open-source project account and pushed harmful code to the project's main branch. This malicious code was then built and published to the npm registryA central database of system settings on a computer or a public catalog that hosts software packages with a valid security signature, making it look legitimate. The package has more than 100,000 lifetime installs and about 12,000 weekly downloads, meaning the threat reaches many enterprise systems and developer workstations. The malwareSoftware built to steal data, spy on users, lock files, or take control of a computer steals credentialsThe login details, such as a username and password or key, that prove who an account belongs to and uses a cryptocurrency network as a backup communication channel. It also installs a mechanism that wipes the victim's machine if security teams revoke the stolen access tokenA short-lived digital pass that a server gives a logged-in user or app.

Terms in this story

maintainer's
The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
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.
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
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
Token
A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
npm Package
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
Supply Chain Attacks
Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
EDR
Security software on laptops and servers that watches running processes to spot and block malicious behavior. Unlike older antivirus tools that only check file hashes, EDR records process launches, memory changes, and network connections so defenders can stop live attacks and trace what happened. Security+ objective 2.5 lists the term
serverless
A cloud execution model where the provider runs small code functions on demand without dedicated virtual servers. With serverless computing, developers upload individual functions that wake up only when a request arrives, shifting server patching to the cloud provider while leaving application logic permissions to the developer. Security+ objective 3.1 lists the term
sandbox
An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
SDK
A bundle of code libraries, tools, and documentation that developers import to build apps for a platform. Mobile app developers include third-party advertising or analytics SDKs in their apps, and a malicious or buggy SDK can quietly collect data from every app that bundles it.
AI agents
Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.

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 CyberSec Guru website. Cite the article, not this page.

Read the full article on The CyberSec Guru (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

Same story at other outlets

Related