216.73.217.22

The npm Threat Landscape: Attack Surface and Mitigations

· Published 25/04/2026 00:01 · Modified 27/04/2026 14:58

Export JSON

Essential information

Published
25/04/2026 00:01
Modified
27/04/2026 14:58
Tags
2026-04-25 ci/cd compromise credential harvesting github npm packages obfuscation self-replicating malware shai-hulud supply-chain worm propagation
Related entities
4 observables, 1 intrusion sets (apt), 20 techniques (mitre), 1 malware, 3 others

Description

The npm ecosystem experienced a critical shift in September 2025 with the worm, marking the transition from isolated attacks to systematic supply chain compromises. In April 2026, TeamPCP launched a coordinated campaign through a malicious @bitwarden/cli package targeting multiple distribution channels including Docker Hub, Actions, and VS Code extensions. The multi-stage payload employs advanced , harvests credentials from cloud providers and developer workstations, exfiltrates data through encrypted HTTPS and repositories, and self-propagates by backdooring using stolen tokens. The malware implements 's search API as a resilient command-and-control fallback mechanism and features anti-detection measures including Russian locale killswitches. This represents an evolution toward wormable propagation, infrastructure-level persistence, and dormant payloads that activate under specific conditions.

External references