vs-modules
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-8hpw-v4hq-pg99
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in vs-modules (npm)
---
_-= 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.
Source: ghsa-malware (b2a79c8b121ab15abeb994540d78a5030ec740fd91e9f6ce5020af40c6d8f519)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0