Skip to main content
MalwarePublished Updated

chain-selectors (npm) · Malicious Code

Affects chain-selectorsSource GCVE Database

0

Malicious package : remove chain-selectors and rotate any secrets on hosts that installed it.

Data as of 21 Nov 2026, 03:54 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-191487

What to do

Remove chain-selectors 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
npmchain-selectorsAffected
  • =2.0.0
  • =3.0.0
  • =4.0.0
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 'chain-selectors' versions 2.0.0, 3.0.0, and 4.0.0 have been identified as containing malicious code. This package communicates with domains linked to malicious activity and executes commands associated with harmful behavior. Any system with this package installed should be considered fully compromised, and all secrets and keys stored on that system should be rotated immediately from a different, secure machine. Removal of the package alone may not eliminate all malicious software introduced by it.

References

Community reviews

Loading reviews…