Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10417: Malicious code in minigptcore (npm)

0
Critical
Published: 07/13/2026 (07/13/2026, 06:54:44 UTC)
Source: GCVE Database
Product: minigptcore

Description

The minigptcore npm package version 4.0.8 contains malicious code that executes during installation. Its preinstall script runs a Windows command to invoke mshta.exe, which fetches and executes an unverified HTA script from an external HTTP domain. This behavior allows remote code execution with the privileges of the user running npm install. The package metadata is minimal and generic, indicating a likely throwaway malicious upload.

Affected software

npmghsa
minigptcore
Affected versions
=4.0.8

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

AILast updated: 07/13/2026, 09:27:06 UTC

Technical Analysis

The minigptcore package version 4.0.8 includes a preinstall script (preinstall.js) that executes a Windows command to run mshta.exe, fetching an HTA script from a hardcoded external URL over unencrypted HTTP. The fetched script is unpinned and unverified, unrelated to the package's intended functionality, and executes with the user's privileges during npm install. The package.json contains placeholder metadata consistent with a malicious dropper rather than a legitimate package. This constitutes a remote code execution threat via supply chain compromise in the npm ecosystem.

Potential Impact

Successful installation of this package version results in arbitrary code execution on the affected Windows system with the privileges of the installing user. This can lead to system compromise, data theft, or further malware deployment. The malicious payload is delivered via an untrusted external source over HTTP, increasing the risk of interception or modification.

Mitigation Recommendations

No official patch or remediation is currently documented for this malicious package version. Users should avoid installing minigptcore version 4.0.8. Verify package authenticity before installation and prefer packages from trusted sources. Monitor npm repositories for updates or removals of this package. Since this is a malicious package upload, removal from the npm registry by maintainers or npm security teams is expected. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10417
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a54ad9c68715ace438f3ce9

Added to database: 07/13/2026, 09:19:24 UTC

Last enriched: 07/13/2026, 09:27:06 UTC

Last updated: 07/13/2026, 14:21:10 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses