Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in devplatform-spa-cli (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:43:30 UTC)
Source: GCVE Database
Product: devplatform-spa-cli

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

npmghsa
devplatform-spa-cli
Affected versions
=35.9.2

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

AILast updated: 08/05/2026, 16:42:25 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses