Skip to main content
MalwarePublished Updated

vs-modules (npm) · Malicious Code

Affects vs-modulesSource GCVE Database

0

Malicious package : remove vs-modules and rotate any secrets on hosts that installed it.

Data as of 25 Nov 2026, 11:28 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15564

What to do

Remove vs-modules 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
npmvs-modulesAffected
  • =1.2.2
  • =1.2.1
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 'vs-modules' version 1.2.2 contains malicious code that executes automatically during installation. It runs an obfuscated script that downloads and executes a Windows batch file from an untrusted, plain-HTTP Netlify URL. This behavior is unrelated to the package's stated functionality and results in full compromise of the host system.

References

Community reviews

Loading reviews…