Malicious code in devplatform-nx-spa (npm)
The devplatform-nx-spa npm package version 35.8.7 contains malicious code that, upon requiring the package, downloads a native binary from Cloudflare Workers subdomains or reconstructs it from DNS TXT records if HTTPS fails. This binary is saved to temporary directories with obfuscated filenames, given executable permissions, and executed detached from the main process. The package uses runtime string assembly to evade static analysis and employs a state file to conceal its activity. A related telemetry module exists but is unreferenced in this version.
AI Analysis
Technical Summary
The devplatform-nx-spa package version 35.8.7 includes malicious functionality where its index.js loads a support script that selects a platform-specific native binary. This binary is fetched from one of four Cloudflare Workers subdomains or, failing that, reconstructed from base64-encoded DNS TXT records under *.dl.wel1.ru. The binary is written to /var/tmp or %TEMP% with obfuscated filenames, permissioned for execution, and launched detached via shell commands. Hostnames are dynamically assembled to evade detection, and a '.analytics_state' file is used as a cover mechanism. An unreferenced telemetry module duplicates these drop-and-execute behaviors under an analytics SDK guise.
Potential Impact
This malicious package can execute arbitrary native code on the host system by downloading and running binaries without user consent, potentially leading to full system compromise or unauthorized actions. The use of obfuscation and fallback mechanisms increases the difficulty of detection and removal.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid using devplatform-nx-spa version 35.8.7 and remove it from their environments. Monitor for and block network connections to the identified Cloudflare Workers subdomains and the *.dl.wel1.ru DNS domain. Employ endpoint detection tools to identify and quarantine the dropped binaries and related artifacts.
Malicious code in devplatform-nx-spa (npm)
Description
The devplatform-nx-spa npm package version 35.8.7 contains malicious code that, upon requiring the package, downloads a native binary from Cloudflare Workers subdomains or reconstructs it from DNS TXT records if HTTPS fails. This binary is saved to temporary directories with obfuscated filenames, given executable permissions, and executed detached from the main process. The package uses runtime string assembly to evade static analysis and employs a state file to conceal its activity. A related telemetry module exists but is unreferenced in this version.
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-spa package version 35.8.7 includes malicious functionality where its index.js loads a support script that selects a platform-specific native binary. This binary is fetched from one of four Cloudflare Workers subdomains or, failing that, reconstructed from base64-encoded DNS TXT records under *.dl.wel1.ru. The binary is written to /var/tmp or %TEMP% with obfuscated filenames, permissioned for execution, and launched detached via shell commands. Hostnames are dynamically assembled to evade detection, and a '.analytics_state' file is used as a cover mechanism. An unreferenced telemetry module duplicates these drop-and-execute behaviors under an analytics SDK guise.
Potential Impact
This malicious package can execute arbitrary native code on the host system by downloading and running binaries without user consent, potentially leading to full system compromise or unauthorized actions. The use of obfuscation and fallback mechanisms increases the difficulty of detection and removal.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid using devplatform-nx-spa version 35.8.7 and remove it from their environments. Monitor for and block network connections to the identified Cloudflare Workers subdomains and the *.dl.wel1.ru DNS domain. Employ endpoint detection tools to identify and quarantine the dropped binaries and related artifacts.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12727
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735738bf8831d53914b49d
Added to database: 08/05/2026, 15:31:04 UTC
Last enriched: 08/05/2026, 16:33:25 UTC
Last updated: 08/05/2026, 16:33:25 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.