<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/canisterworm-how-a-self-propagating-npm-worm-is-spreading-backdoors-across-the-ecosystem-ieynors7i" -->

---
title: CanisterWorm: How a Self-Propagating npm Worm Is...
description: CanisterWorm is a self-propagating npm worm deployed by the TeamPCP threat actor, discovered following the compromise of Trivy v0.69.4. Attackers embedded a...
canonical: https://daily.dev/posts/canisterworm-how-a-self-propagating-npm-worm-is-spreading-backdoors-across-the-ecosystem-ieynors7i
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CanisterWorm: How a Self-Propagating npm Worm Is Spreading Backdoors Across the Ecosystem | daily.dev
og:description: CanisterWorm is a self-propagating npm worm deployed by the TeamPCP threat actor, discovered following the compromise of Trivy v0.69.4. Attackers embedded a...
og:url: https://daily.dev/posts/canisterworm-how-a-self-propagating-npm-worm-is-spreading-backdoors-across-the-ecosystem-ieynors7i
og:image: https://api.daily.dev/og/posts/IEyNOrs7I.png
og:image:alt: CanisterWorm: How a Self-Propagating npm Worm Is Spreading Backdoors Across the Ecosystem
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CanisterWorm: How a Self-Propagating npm Worm Is Spreading Backdoors Across the Ecosystem

**[StepSecurity](https://daily.dev/sources/stepsecurity)** · 9 min read · 0 upvotes · 0 comments

## Summary

CanisterWorm is a self-propagating npm worm deployed by the TeamPCP threat actor, discovered following the compromise of Trivy v0.69.4. Attackers embedded a credential harvester in Trivy's CI/CD toolchain, stole npm tokens from affected pipelines, then used those tokens to publish backdoored patch versions across multiple npm scopes including @opengov (16+ packages). Each compromised package installs a persistent Python backdoor via a postinstall hook, establishes a systemd user service for persistence without root, and polls a C2 endpoint hosted on the Internet Computer blockchain — making it resistant to takedown. A worm component harvests npm tokens from victim machines and autonomously republishes the malware to every reachable package. A second-stage payload includes destructive Kubernetes capabilities targeting geopolitically specific victims. Indicators of compromise, remediation steps, and detection methods via StepSecurity's tooling are provided.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.stepsecurity.io/blog/canisterworm-how-a-self-propagating-npm-worm-is-spreading-backdoors-across-the-ecosystem>

---

Tags: [#security](https://daily.dev/tags/security), [#kubernetes](https://daily.dev/tags/kubernetes), [#cicd](https://daily.dev/tags/cicd), [#malware](https://daily.dev/tags/malware), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/canisterworm-how-a-self-propagating-npm-worm-is-spreading-backdoors-across-the-ecosystem-ieynors7i)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"CanisterWorm: How a Self-Propagating npm Worm Is Spreading Backdoors Across the Ecosystem","url":"https://daily.dev/posts/canisterworm-how-a-self-propagating-npm-worm-is-spreading-backdoors-across-the-ecosystem-ieynors7i","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/canisterworm-how-a-self-propagating-npm-worm-is-spreading-backdoors-across-the-ecosystem-ieynors7i"},"datePublished":"2026-03-31T12:25:44.473Z","dateModified":"2026-03-31T12:35:43.654Z","description":"CanisterWorm is a self-propagating npm worm deployed by the TeamPCP threat actor, discovered following the compromise of Trivy v0.69.4. Attackers embedded a...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1592faf03552e5699a0ae1ce14ab14de?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1592faf03552e5699a0ae1ce14ab14de?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"StepSecurity","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"StepSecurity","logo":"https://media.daily.dev/image/upload/s--vegWii-S--/f_auto,q_auto/v1774959924/logos/stepsecurity?_a=BAMAMiWQ0","url":"https://daily.dev/sources/stepsecurity"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/canisterworm-how-a-self-propagating-npm-worm-is-spreading-backdoors-across-the-ecosystem-ieynors7i","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,kubernetes,cicd,malware,npm","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"StepSecurity","item":"https://daily.dev/sources/stepsecurity"},{"@type":"ListItem","position":3,"name":"CanisterWorm: How a Self-Propagating npm Worm Is Spreading Backdoors Across the Ecosystem"}]}
```

