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-cli-spa (npm)

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

Description

The devplatform-cli-spa npm package version 35.7.8 contains malicious code that downloads and executes a native binary payload based on the operating system and architecture. The payload is fetched from obfuscated Cloudflare Workers hostnames and a DNS TXT base64 fallback, then saved to temporary directories and executed with elevated permissions. The malware uses runtime string assembly to evade static detection and employs decoy filenames and execution gating to avoid repeated runs across installs.

Affected software

npmghsa
devplatform-cli-spa
Affected versions
=35.7.8

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:29:28 UTC

Technical Analysis

The devplatform-cli-spa package (version 35.7.8) includes a malicious module that, upon requiring the package, loads a support script which selects and downloads a native binary payload tailored to the host OS and architecture. The payload is retrieved over HTTPS from dynamically constructed Cloudflare Workers domains, with a DNS TXT record fallback from *.dl.wel1.ru. The binary is saved to temporary filesystem locations (/tmp/.cache_<rnd> on Unix or %TEMP%/dotnet_diag_<rnd>.exe on Windows), permissions are set to executable (0755), and it is launched detached via shell or command prompt. The malware uses string fragment arrays to assemble C2 hostnames at runtime, evading static string detection. The Windows payload uses a decoy filename 'dotnet_diag' and a stamp file mechanism prevents repeated execution across installs.

Potential Impact

This malicious package can execute arbitrary native code on the host system, potentially leading to full system compromise or unauthorized actions depending on the payload's capabilities. The obfuscation and execution methods indicate an intent to evade detection and maintain persistence. No known exploits in the wild are reported yet, but the presence of native payload execution poses a high risk to affected systems.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid using devplatform-cli-spa version 35.7.8 and remove any installations of this version. Monitor for updates from the package maintainers or npm advisories for any official fixes. Employ runtime detection for suspicious child processes spawned by npm packages and verify package integrity before installation.

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-12704
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735737bf8831d539148361

Added to database: 08/05/2026, 15:31:03 UTC

Last enriched: 08/05/2026, 16:29:28 UTC

Last updated: 08/05/2026, 16:29:28 UTC

Views: 2

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