Malicious code in devplatform-spa-cli (npm)
The devplatform-spa-cli npm package version 35.9.2 contains malicious code that automatically downloads and executes a binary payload from anonymous Cloudflare Workers subdomains and fallback DNS TXT records. The payload is saved to temporary directories with disguised filenames, given executable permissions, and launched without user interaction. This behavior occurs immediately when the module is required, with no integrity checks on the downloaded payload. The malicious code uses obfuscation techniques to evade static detection.
AI Analysis
Technical Summary
The devplatform-spa-cli package version 35.9.2 includes embedded malicious code in its index.js and lib/telemetry.js files. Upon module load, it asynchronously fetches a platform-specific binary payload from runtime-assembled Cloudflare Workers subdomains (e.g., oob-worker.cf100-*.workers.dev) with a DNS TXT chunked-base64 fallback via *.dl.wel1.ru. The payload is saved under /var/tmp or %TEMP% with misleading filenames (.cache_<hex> on POSIX systems, dotnet_diag_<hex>.exe on Windows), permissions are set to executable (chmod 0755), and the payload is executed detached via shell commands (/bin/sh or cmd.exe). The destination hostnames and child_process require calls are constructed dynamically via array-join string concatenation to evade static analysis. No hash or signature verification is performed on the downloaded payload, and execution happens automatically when the package is imported. This represents a supply chain compromise with automatic remote code execution capability.
Potential Impact
This malicious package enables automatic execution of arbitrary binaries fetched from attacker-controlled infrastructure without user consent or verification. This can lead to full system compromise, data theft, persistence, or further malware deployment on affected systems that install or require this package version. The obfuscation and automatic execution increase the risk of unnoticed compromise in development or production environments using this npm package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid using devplatform-spa-cli version 35.9.2 and remove it from their environments. Verify the integrity of dependencies and consider using package integrity verification tools or trusted package registries. Monitor for updates or advisories from the package maintainers or npm registry regarding this incident. Since no patch is confirmed, exercise caution and consider blocking this package version in dependency management policies.
Malicious code in devplatform-spa-cli (npm)
Description
The devplatform-spa-cli npm package version 35.9.2 contains malicious code that automatically downloads and executes a binary payload from anonymous Cloudflare Workers subdomains and fallback DNS TXT records. The payload is saved to temporary directories with disguised filenames, given executable permissions, and launched without user interaction. This behavior occurs immediately when the module is required, with no integrity checks on the downloaded payload. The malicious code uses obfuscation techniques to evade static detection.
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-spa-cli package version 35.9.2 includes embedded malicious code in its index.js and lib/telemetry.js files. Upon module load, it asynchronously fetches a platform-specific binary payload from runtime-assembled Cloudflare Workers subdomains (e.g., oob-worker.cf100-*.workers.dev) with a DNS TXT chunked-base64 fallback via *.dl.wel1.ru. The payload is saved under /var/tmp or %TEMP% with misleading filenames (.cache_<hex> on POSIX systems, dotnet_diag_<hex>.exe on Windows), permissions are set to executable (chmod 0755), and the payload is executed detached via shell commands (/bin/sh or cmd.exe). The destination hostnames and child_process require calls are constructed dynamically via array-join string concatenation to evade static analysis. No hash or signature verification is performed on the downloaded payload, and execution happens automatically when the package is imported. This represents a supply chain compromise with automatic remote code execution capability.
Potential Impact
This malicious package enables automatic execution of arbitrary binaries fetched from attacker-controlled infrastructure without user consent or verification. This can lead to full system compromise, data theft, persistence, or further malware deployment on affected systems that install or require this package version. The obfuscation and automatic execution increase the risk of unnoticed compromise in development or production environments using this npm package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid using devplatform-spa-cli version 35.9.2 and remove it from their environments. Verify the integrity of dependencies and consider using package integrity verification tools or trusted package registries. Monitor for updates or advisories from the package maintainers or npm registry regarding this incident. Since no patch is confirmed, exercise caution and consider blocking this package version in dependency management policies.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12755
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73573abf8831d539150e86
Added to database: 08/05/2026, 15:31:06 UTC
Last enriched: 08/05/2026, 16:42:25 UTC
Last updated: 08/05/2026, 16:42:25 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.