MAL-2026-15564
Malicious code in vs-modules (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (dcd50c73d1e9bbca9b707d80936562866b7469239c038a540c02a9f43efedb57) package.json declares a preinstall hook that runs `node resources.js`, which fires automatically on `npm install`. resources.js is heavily obfuscated with an obfuscator.io-style string-array plus numeric-index dispatch that hides the URL, destination path, and exec call. Deobfuscation shows the script reconstructs the plain-HTTP URL http://whaomydaddy.bts-the-time-in-shanghai.netlify.app/hey.bat, downloads it into %TEMP% via `curl -L -o <dest> <url>`, and immediately runs the batch file via child_process.exec. The destination is an anonymous netlify subdomain over plain HTTP with no pinning or integrity check, so any content served at that URL executes on the installer's host at install time. The package's stated purpose (a kanban/utility module) is unrelated to fetching and executing a Windows batch file from an external host.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for vs-modules (npm). Pin to a known-safe version or switch to an alternative.