Malicious code in devplatform-nx-devkit (npm)
The devplatform-nx-devkit npm package version 35.8.5 contains malicious code that, upon being required, downloads and executes a platform-specific binary from multiple obfuscated hostnames. The package masquerades as a development kit but includes no functional devkit code. It writes the binary to temporary directories with decoy filenames and executes it without performing the referenced integrity check. Environment variables suggest an attempt to disguise the dropper as telemetry, but no legitimate telemetry functionality is present.
AI Analysis
Technical Summary
The devplatform-nx-devkit package (version 35.8.5) is a malicious npm package that includes a hidden _shim.js file invoked by index.js. This _shim reconstructs multiple obfuscated hostnames and downloads a platform-specific binary from these hosts. The binary is saved under temporary directories with decoy names and executed detached via shell commands. Although a comment mentions SHA-256 integrity verification, no such check is performed. The package contains environment variable checks and a telemetry.js module frame to disguise the malicious dropper as analytics, but it contains no actual devkit functionality or dependencies.
Potential Impact
This package enables remote code execution on the host system by downloading and executing an unverified binary from attacker-controlled servers. This can lead to full system compromise, persistence, and further malicious activity. The lack of integrity verification increases the risk of tampering or substitution of the binary. The malicious behavior is triggered simply by requiring the package, posing a high risk to any project that installs and uses this version.
Mitigation Recommendations
Avoid using devplatform-nx-devkit version 35.8.5. Remove this package from any projects and replace it with a trusted alternative. Since no patch or fix is available, do not use this package version. Monitor for any unexpected binaries in temporary directories and investigate any suspicious processes spawned by development tools. Consider scanning your environment for this package and the associated dropped binaries.
Malicious code in devplatform-nx-devkit (npm)
Description
The devplatform-nx-devkit npm package version 35.8.5 contains malicious code that, upon being required, downloads and executes a platform-specific binary from multiple obfuscated hostnames. The package masquerades as a development kit but includes no functional devkit code. It writes the binary to temporary directories with decoy filenames and executes it without performing the referenced integrity check. Environment variables suggest an attempt to disguise the dropper as telemetry, but no legitimate telemetry functionality is present.
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 devplatform-nx-devkit package (version 35.8.5) is a malicious npm package that includes a hidden _shim.js file invoked by index.js. This _shim reconstructs multiple obfuscated hostnames and downloads a platform-specific binary from these hosts. The binary is saved under temporary directories with decoy names and executed detached via shell commands. Although a comment mentions SHA-256 integrity verification, no such check is performed. The package contains environment variable checks and a telemetry.js module frame to disguise the malicious dropper as analytics, but it contains no actual devkit functionality or dependencies.
Potential Impact
This package enables remote code execution on the host system by downloading and executing an unverified binary from attacker-controlled servers. This can lead to full system compromise, persistence, and further malicious activity. The lack of integrity verification increases the risk of tampering or substitution of the binary. The malicious behavior is triggered simply by requiring the package, posing a high risk to any project that installs and uses this version.
Mitigation Recommendations
Avoid using devplatform-nx-devkit version 35.8.5. Remove this package from any projects and replace it with a trusted alternative. Since no patch or fix is available, do not use this package version. Monitor for any unexpected binaries in temporary directories and investigate any suspicious processes spawned by development tools. Consider scanning your environment for this package and the associated dropped binaries.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12722
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735738bf8831d53914b571
Added to database: 08/05/2026, 15:31:04 UTC
Last enriched: 08/05/2026, 16:33:44 UTC
Last updated: 09/07/2026, 21:59:01 UTC
Views: 19
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.