Malicious code in code-assist-mcp (npm)
The npm package code-assist-mcp version 1.0.0 contains malicious code that executes a postinstall script to collect host system identifiers and sends them to a hardcoded external server without user consent. This behavior occurs automatically during npm install and appears to be a reconnaissance beacon potentially used for dependency confusion or typosquatting attacks.
AI Analysis
Technical Summary
[email protected] runs a postinstall lifecycle script that collects host identifiers including hostname, platform, architecture, Node.js version, and package name. It then sends this information as JSON to a hardcoded external host (m743pyrm.instances.poc.jchunt.top) at the path /code-assist-mcp. This beacon activates automatically during npm install without user opt-in. The package name mimics Google's platform-ai code-assist tooling, suggesting it is used for reconnaissance in dependency confusion or typosquatting attacks to confirm code execution on build machines.
Potential Impact
The malicious postinstall script leaks sensitive host environment details to an attacker-controlled server, potentially exposing build machine characteristics and confirming successful code execution. This can facilitate further targeted supply chain attacks or reconnaissance. There is no indication of direct code execution beyond the data exfiltration, and no known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing [email protected] and verify package authenticity before installation. Consider using package integrity verification and restricting installation of untrusted or suspicious packages. Monitor for updates or advisories from npm or the package maintainer for remediation.
Malicious code in code-assist-mcp (npm)
Description
The npm package code-assist-mcp version 1.0.0 contains malicious code that executes a postinstall script to collect host system identifiers and sends them to a hardcoded external server without user consent. This behavior occurs automatically during npm install and appears to be a reconnaissance beacon potentially used for dependency confusion or typosquatting attacks.
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
[email protected] runs a postinstall lifecycle script that collects host identifiers including hostname, platform, architecture, Node.js version, and package name. It then sends this information as JSON to a hardcoded external host (m743pyrm.instances.poc.jchunt.top) at the path /code-assist-mcp. This beacon activates automatically during npm install without user opt-in. The package name mimics Google's platform-ai code-assist tooling, suggesting it is used for reconnaissance in dependency confusion or typosquatting attacks to confirm code execution on build machines.
Potential Impact
The malicious postinstall script leaks sensitive host environment details to an attacker-controlled server, potentially exposing build machine characteristics and confirming successful code execution. This can facilitate further targeted supply chain attacks or reconnaissance. There is no indication of direct code execution beyond the data exfiltration, and no known exploits in the wild have been reported.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing [email protected] and verify package authenticity before installation. Consider using package integrity verification and restricting installation of untrusted or suspicious packages. Monitor for updates or advisories from npm or the package maintainer for remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14233
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4c2acd9273b492524df
Added to database: 08/19/2026, 13:50:58 UTC
Last enriched: 08/19/2026, 14:32:03 UTC
Last updated: 08/19/2026, 14:32:03 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.