Article
The Rise of Supply Chain Cyber Attacks: How Vendor Trust Becomes the Way In
A supply chain cyber attack abuses a vendor, package or service you already trust. See how XZ Utils, MOVEit and PowerSchool worked and how…
Quick links
Press Enter to search, Esc to close
Malware profile
CanisterWorm is a self-propagating worm that steals cloud and developer credentials and uses stolen npm tokens to push itself into more software packages.
In short
CanisterWorm is a self-propagating worm that steals cloud and developer credentials and uses stolen npm tokens to push itself into more software packages. MITRE says it has a wiper part aimed at Kubernetes and Iranian systems, and that it can fetch payload locations from a blockchain canister. The FBI lists it among the malware deployed by the cyber criminal group TeamPCP.
MITRE describes CanisterWorm as a worm that uses stolen npm credentials to infect software packages and spread across developer ecosystems. It also has a targeted wiper component, and it can use a blockchain canister on the Internet Computer Protocol as a hidden command channel.
The BSI names CanisterWorm (npm) as one of the software ecosystems hit by the campaign around the Trivy attack, which it says the group TeamPCP is said to be behind.
Public sources use several names for this malware.
| Name | Where it appears |
|---|---|
| CanisterWorm | MITRE ATT&CK software S9042, the FBI FLASH, the BSI warning and the CERT-EU March 2026 cyber brief[1, 2, 3, 4] |
What MITRE ATT&CK lists this malware as doing, by tactic. Each id opens our technique page where one exists, otherwise MITRE.
Poisoned Pipeline Execution T1677
It used tokens stolen from users of the Trivy scanner to publish itself across more than 46 npm packages.[1]
Command and Scripting Interpreter: JavaScript T1059.007
It uses stolen tokens to run a JavaScript file (deploy.js) that carries out the self-propagation.[1]
Container Administration Command T1609
It can deploy privileged DaemonSets in Kubernetes clusters and use kubectl to wipe data.[1]
Steal Application Access Token T1528
It gathers cloud access tokens, which the FBI also lists as its target.[1, 2]
Credentials from Password Stores: Cloud Secrets Management Stores T1555.006
It gathers credentials from AWS, Google Cloud and Microsoft Azure.[1, 2]
Unsecured Credentials: Private Keys T1552.004
It collects SSH private keys from the .ssh folder.[1]
MITRE says CanisterWorm spreads through an automated process that infects and publishes npm packages. It uses stolen npm tokens to list every package the token owner can publish in a namespace, raise the version number and publish itself across the whole scope. MITRE also says it used tokens stolen from Trivy users to publish itself across more than 46 npm packages.
The BSI says the Trivy scanner has been affected by a supply chain attack since 19 March 2026.[3]
CERT-EU says a researcher reported on 20 March that TeamPCP compromised Trivy, and that the same actor was linked to a follow-up campaign deploying an npm worm named CanisterWorm.[4]
The BSI warning BITS-V 2026-237970-1032 lists npm (CanisterWorm) among the ecosystems the campaign reaches, and says more libraries and projects are expected to be targeted.[3]
CERT-EU releases Cyber Brief 26-04, which describes the Trivy compromise and links CanisterWorm to the same actor.[4]
The FBI releases FLASH-20260702-01 and lists CanisterWorm among the malware deployed by TeamPCP, with indicators and recommendations.[2]
MITRE describes it as a self-propagating malware used by TeamPCP in credential harvesting and software supply chain campaigns since at least 2026. It uses npm credentials to infect packages and has a targeted wiper component.
The FBI, in a FLASH of 2 July 2026, lists it as malware deployed by the cyber criminal group TeamPCP. CERT-EU linked the same actor to a follow-up campaign with an npm worm named CanisterWorm. The BSI says TeamPCP is said to be behind the campaign. MITRE also lists TeamPCP.
MITRE says it can use decentralized command infrastructure built on an Internet Computer Protocol blockchain canister. The sources reviewed here do not explain the choice of name.
Yes in some cases. MITRE says the wiper part can delete whole Kubernetes clusters, and that it is held back if Kubernetes is not found or the target is not in Iran.
The FBI and the BSI advise pinning GitHub Actions to commit hashes and rotating the CI/CD, cloud and publishing secrets that were reachable. Search GitHub for repositories named tpcp-docs.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.