Hackers Hijack Tensorlake Package to Spread Shai-Hulud Supply Chain Malware
Hackers released a malicious version of a software package to spread a self-replicating worm that steals developer secrets and cryptocurrency credentials.
Overview
A threat actorA person or group that carries out cyberattacks, whether for money, spying, or disruption released a malicious version of the tensorlake npm packageA reusable web code library published to the public npm registry for developers to install on October 8, 2026, which contains a new variant of the Shai-Hulud supply-chain worm. This compromised release, identified as version 0.5.144, is designed to steal developer secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys and target browser-stored cryptocurrencyDigital money tracked on a public ledger using cryptography instead of a central bank credentialsThe login details, such as a username and password or key, that prove who an account belongs to. The malwareSoftware built to steal data, spy on users, lock files, or take control of a computer activates through a preinstall lifecycle hook that runs a script to download the Bun runtimeThe environment in which a program executes, or the period of time while the program is actively running and execute a second-stage payloadThe part of an attack or malware file that carries out the harmful action on the target. Once active, the software collects sensitive data such as environment variablesA named setting stored in a program's running environment that often holds file paths or secret keys, SSH keysA cryptographic key pair used to sign in to remote servers over SSH without a password, and cloud credentialsAccess keys, tokens, or login secrets that grant control over cloud servers and storage from the infected system. The incident affects users of Tensorlake, a serverlessA cloud execution model where the provider runs small code functions on demand without dedicated virtual servers sandbox platform for AI agents that has recorded more than 100,000 lifetime installs. The malicious package also includes a dead-man's switch that can wipe infected systems if an embedded GitHub token is revoked.
Terms in this story
- threat actor
- A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 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
- secrets
- Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
- cryptocurrency
- Digital money tracked on a public ledger using cryptography instead of a central bank. Cryptocurrency appears constantly in cybersecurity news because ransomware gangs demand payment in digital coins and hackers target online exchanges and digital wallets directly.
- 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
- 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
- runtime
- The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
- payload
- The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
- environment variables
- A named setting stored in a program's running environment that often holds file paths or secret keys. Cloud apps frequently store database passwords and API tokens in environment variables, so an attacker who tricks a server into printing its environment variables can steal those secrets.
- SSH keys
- A cryptographic key pair used to sign in to remote servers over SSH without a password. Software engineers store a private SSH key on their laptop and place the matching public key on cloud servers, making stolen SSH keys a prime target for infostealers.
- cloud credentials
- Access keys, tokens, or login secrets that grant control over cloud servers and storage. Attackers scan public code repositories and developer laptops for cloud credentials so they can spin up cryptominers or download company databases.
- 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
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 GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (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.
- Kind of story: Research and reports
"Hackers Hijack Tensorlake Package to Spread Shai-Hulud Supply Chain Malware..." Found by reading the article; these exact words are in it - Security+ 2.1 Compare and contrast common threat actors and motivations.
"A threat actor published a malicious version of the tensorlake..." Found in the opening sentences - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Hackers Hijack Tensorlake Package to Spread Shai-Hulud Supply Chain Malware..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"Hackers Hijack Tensorlake Package to Spread Shai-Hulud Supply Chain Malware..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......Tensorlake Package to Spread Shai-Hulud Supply Chain Malware..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......can steal developer secrets, target browser-stored cryptocurrency credentials, and use stolen publishing credentials to..." Found in the opening sentences - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"Hackers Hijack Tensorlake Package to Spread Shai-Hulud Supply Chain Malware..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"A threat actor published a malicious version of the tensorlake..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"......Tensorlake Package to Spread Shai-Hulud Supply Chain Malware..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of threats to OPSEC when installing, using, modifying, and uninstalling tools.
"...expose not only application build environments but also cloud credentials..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Tensorlake npm Package Compromised: Anatomy of the Shai-Hulud Worm, Hostage Token Wipe-Switch, and AI Supply Chain Attacks
- Tensorlake npm Package Compromised to Spread Shai-Hulud Worm and Steal Developer Secrets
- Tensorlake npm Package Compromised to Deliver Shai-Hulud Credential-Stealing Worm
- tensorlake NPM package compromised with Shai Hulud worm