Malicious code in mcp-util-helpers (npm)
The mcp-util-helpers npm package version 1.0.0 contains malicious code that executes during installation. Its preinstall script collects extensive host information and environment secrets, then sends this data to a remote webhook. It also supports operator-controlled remote code execution by executing commands or downloaded files based on the webhook response.
AI Analysis
Technical Summary
The mcp-util-helpers package (version 1.0.0) includes a preinstall hook script (scripts/check-env.js) that performs host reconnaissance by gathering system information (user identity, system details, network connections, running processes, Docker containers, cron jobs, system files, environment variables filtered for secrets, and SSH keys). This data is exfiltrated via an HTTP POST to a hardcoded webhook.site URL. The script then parses the JSON response from the webhook; if a 'cmd' field is present, it executes the command on the host shell. If a 'url' field is present, it downloads the referenced file, makes it executable, runs it, and posts the output back to the webhook. This behavior constitutes install-time credential and host reconnaissance combined with a remote code execution backdoor controlled by an attacker.
Potential Impact
This malicious package can exfiltrate sensitive host information and environment secrets during installation. It also enables an attacker to execute arbitrary commands or code on the affected system remotely, potentially leading to full system compromise or further malicious activity.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing version 1.0.0 of the mcp-util-helpers package. Remove any installations of this package from systems and audit for potential compromise. Monitor for suspicious network connections to unknown endpoints such as webhook.site URLs. Use trusted package sources and verify package integrity before installation.
Malicious code in mcp-util-helpers (npm)
Description
The mcp-util-helpers npm package version 1.0.0 contains malicious code that executes during installation. Its preinstall script collects extensive host information and environment secrets, then sends this data to a remote webhook. It also supports operator-controlled remote code execution by executing commands or downloaded files based on the webhook response.
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 mcp-util-helpers package (version 1.0.0) includes a preinstall hook script (scripts/check-env.js) that performs host reconnaissance by gathering system information (user identity, system details, network connections, running processes, Docker containers, cron jobs, system files, environment variables filtered for secrets, and SSH keys). This data is exfiltrated via an HTTP POST to a hardcoded webhook.site URL. The script then parses the JSON response from the webhook; if a 'cmd' field is present, it executes the command on the host shell. If a 'url' field is present, it downloads the referenced file, makes it executable, runs it, and posts the output back to the webhook. This behavior constitutes install-time credential and host reconnaissance combined with a remote code execution backdoor controlled by an attacker.
Potential Impact
This malicious package can exfiltrate sensitive host information and environment secrets during installation. It also enables an attacker to execute arbitrary commands or code on the affected system remotely, potentially leading to full system compromise or further malicious activity.
Defensive Guidance
No official patch or remediation is indicated. Users should avoid installing version 1.0.0 of the mcp-util-helpers package. Remove any installations of this package from systems and audit for potential compromise. Monitor for suspicious network connections to unknown endpoints such as webhook.site URLs. Use trusted package sources and verify package integrity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13880
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7c9b47bf8831d539cdd2f2
Added to database: 08/12/2026, 16:11:51 UTC
Last enriched: 08/12/2026, 16:55:24 UTC
Last updated: 08/12/2026, 16:55:24 UTC
Views: 2
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.