Malicious code in devplatform-spa-cli (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e9cf6b251dcd1cb74d6b5dd84f62868d0213365ea555bbb8eb1d99dcdafedc26) index.js requires./_polyfill on module load, which asynchronously fetches a platform-selected binary from runtime-assembled Cloudflare Workers subdomains (oob-worker.cf100-*.workers.dev / cf101/cf102/cf103 variants) with a DNS TXT chunked-base64 fallback via *.dl.wel1.ru. The payload is written under /var/tmp or %TEMP% with a cover-story name (.cache_<hex> on POSIX, dotnet_diag_<hex>.exe on Windows), chmod 0o755, and detach-spawned via /bin/sh -c "<file> &" or cmd.exe /c start /b. Destination hostnames and the child_process require are assembled by array-join string concatenation to evade static inspection. A second implementation of the same drop-and-exec chain (endpoint rotation, DNS TXT failover, chmod 0755, /bin/sh spawn) is present in lib/telemetry.js. There is no hash or signature verification, the hosts are anonymous mutable Cloudflare Workers unrelated to any declared publisher, and execution occurs automatically when the module is required. ## Source: ghsa-malware (36443e0787665837807370cbdc48a50575843492f93f4f657f3bb8b68bf54384) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
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
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e9cf6b251dcd1cb74d6b5dd84f62868d0213365ea555bbb8eb1d99dcdafedc26) index.js requires./_polyfill on module load, which asynchronously fetches a platform-selected binary from runtime-assembled Cloudflare Workers subdomains (oob-worker.cf100-*.workers.dev / cf101/cf102/cf103 variants) with a DNS TXT chunked-base64 fallback via *.dl.wel1.ru. The payload is written under /var/tmp or %TEMP% with a cover-story name (.cache_<hex> on POSIX, dotnet_diag_<hex>.exe on Windows), chmod 0o755, and detach-spawned via /bin/sh -c "<file> &" or cmd.exe /c start /b. Destination hostnames and the child_process require are assembled by array-join string concatenation to evade static inspection. A second implementation of the same drop-and-exec chain (endpoint rotation, DNS TXT failover, chmod 0755, /bin/sh spawn) is present in lib/telemetry.js. There is no hash or signature verification, the hosts are anonymous mutable Cloudflare Workers unrelated to any declared publisher, and execution occurs automatically when the module is required. ## Source: ghsa-malware (36443e0787665837807370cbdc48a50575843492f93f4f657f3bb8b68bf54384) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
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
- Ecosystems
- ["npm"]
Threat ID: 6a73573abf8831d539150e86
Added to database: 08/05/2026, 15:31:06 UTC
Last enriched: 08/05/2026, 16:42:25 UTC
Last updated: 09/07/2026, 23:55:18 UTC
Views: 21
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.