Skip to main content
MalwarePublished Updated

vitest-environment-jsdom-patched (npm) · Malicious Code

Affects vitest-environment-jsdom-patchedSource GCVE Database

0

Malicious package : remove vitest-environment-jsdom-patched 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-191486

What to do

Remove vitest-environment-jsdom-patched 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
npmvitest-environment-jsdom-patchedAffected
  • =5.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 'vitest-environment-jsdom-patched' version 5.0.0 contains malicious code that communicates with a domain linked to malicious activity and executes commands associated with harmful behavior. Any system with this package installed or running should be considered fully compromised. Immediate rotation of all secrets and keys stored on the affected system is advised, using a different, uncompromised machine. Removing the package alone may not eliminate all malicious software introduced by it.

References

Community reviews

Loading reviews…