MAL-2026-15564

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vs-modules/MAL-2026-15564.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15564
Aliases
  • GHSA-8hpw-v4hq-pg99
Published
2026-08-29T02:13:27Z
Modified
2026-08-29T18:45:14.953986853Z
Summary
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.

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-019136",
            "source": "amazon-inspector",
            "import_time": "2026-08-29T02:22:20.627653045Z",
            "modified_time": "2026-08-29T02:13:27Z",
            "sha256": "dcd50c73d1e9bbca9b707d80936562866b7469239c038a540c02a9f43efedb57",
            "versions": [
                "1.2.2"
            ]
        },
        {
            "id": "GHSA-8hpw-v4hq-pg99",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "import_time": "2026-08-29T18:26:29.952574697Z",
            "modified_time": "2026-08-29T18:12:11Z",
            "sha256": "b2a79c8b121ab15abeb994540d78a5030ec740fd91e9f6ce5020af40c6d8f519"
        }
    ]
}
References
Credits

Affected packages

npm / vs-modules

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.2

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "vs-modules-1.2.2.tgz",
            "hashes": {
                "sha512_sri": "sha512-QNBb7Ivo4gThCPsj8kKh9xVoB+gg+JHhRNGVtJwzbQvvdFLKBN/Ihc+7pzKg/Nif92Zh2Tqtj5zPpvw7AzR67A==",
                "sha1": "022fa3d4dedd6bbfebe28d23297d50f8ab2e52eb"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "resources.js",
            "tlsh": "4041ef4c6d4492947f82d7eea53af4b1e467e4875a80488cf30afcf0b554e60efa2270",
            "sha256": "4dd5da0bdc4107b8846bec998b208bd2260ad98bc0453bb01cd12ec5a6236e87"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vs-modules/MAL-2026-15564.json"