Malicious code in devplatform-create-nx-spa (npm)
The npm package devplatform-create-nx-spa version 35.4.9 contains malicious code that, upon loading, silently downloads and executes an unsigned binary from attacker-controlled Cloudflare Workers and fallback DNS-TXT channels. This behavior is disguised as analytics and uses obfuscation techniques to evade detection. The malicious binary is written to temporary system directories and executed detached from the main process, enabling remote code execution on the host system.
AI Analysis
Technical Summary
The devplatform-create-nx-spa package at version 35.4.9 includes an index.js entry point that requires a hidden _bridge.js module. This module dynamically constructs hostnames for Cloudflare Workers and fallback DNS-TXT channels to download an unsigned binary payload. The payload is saved to a temporary file location on Unix or Windows systems, permissions are set to executable, and it is spawned detached from the main process. The malicious activity is gated by a timestamp file and obfuscated by splitting strings to evade static detection. The package masquerades as a lightweight Nx SPA scaffolder but executes attacker-controlled code on installation.
Potential Impact
This malicious package enables remote code execution on the host system where it is installed, potentially allowing attackers to run arbitrary unsigned binaries. This can lead to full system compromise, data theft, or further malware deployment. The attack is stealthy, using obfuscation and timing gates to avoid detection during installation.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately uninstall devplatform-create-nx-spa version 35.4.9 and avoid installing packages from untrusted sources. Use verified and trusted npm packages only. Monitor for any suspicious processes or files created in temporary directories matching the described behavior and conduct incident response if infection is suspected.
Malicious code in devplatform-create-nx-spa (npm)
Description
The npm package devplatform-create-nx-spa version 35.4.9 contains malicious code that, upon loading, silently downloads and executes an unsigned binary from attacker-controlled Cloudflare Workers and fallback DNS-TXT channels. This behavior is disguised as analytics and uses obfuscation techniques to evade detection. The malicious binary is written to temporary system directories and executed detached from the main process, enabling remote code execution on the host system.
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-create-nx-spa package at version 35.4.9 includes an index.js entry point that requires a hidden _bridge.js module. This module dynamically constructs hostnames for Cloudflare Workers and fallback DNS-TXT channels to download an unsigned binary payload. The payload is saved to a temporary file location on Unix or Windows systems, permissions are set to executable, and it is spawned detached from the main process. The malicious activity is gated by a timestamp file and obfuscated by splitting strings to evade static detection. The package masquerades as a lightweight Nx SPA scaffolder but executes attacker-controlled code on installation.
Potential Impact
This malicious package enables remote code execution on the host system where it is installed, potentially allowing attackers to run arbitrary unsigned binaries. This can lead to full system compromise, data theft, or further malware deployment. The attack is stealthy, using obfuscation and timing gates to avoid detection during installation.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately uninstall devplatform-create-nx-spa version 35.4.9 and avoid installing packages from untrusted sources. Use verified and trusted npm packages only. Monitor for any suspicious processes or files created in temporary directories matching the described behavior and conduct incident response if infection is suspected.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12707
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735737bf8831d539148349
Added to database: 08/05/2026, 15:31:03 UTC
Last enriched: 08/05/2026, 16:29:17 UTC
Last updated: 08/05/2026, 16:29:17 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.