Skip to main content
MalwarePublished Updated

test22221 (npm) · Malicious Code

Affects test22221Source GCVE Database

0

Malicious package : remove test22221 and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:15 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12478

What to do

Remove test22221 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmtest22221Affected
  • =2.2.7
  • =2.2.8
  • =2.2.9
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'test22221' versions 2.2.7, 2.2.8, and 2.2.9 contain malicious lifecycle scripts that execute during installation. These scripts send host-identification data to an attacker-controlled IP address over plain HTTP and maintain a persistent long-polling connection to the same endpoint. This behavior is unauthorized and serves no legitimate purpose in the installation process.

References

Community reviews

Loading reviews…