Skip to main content

Malicious code in devplatform-spa-plugin-devtools (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:42:25 UTC)
Source: GCVE Database
Product: devplatform-spa-plugin-devtools

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9000b7892808e2b10e702cb2b6f91fc672ad1bc0f58dfdc4c9cf2aa97edff896) On require of the package's main entry, _support.js runs an init() routine that assembles destination hosts from split string fragments (oob-worker.cf100-416.workers.dev and siblings cf101/cf102/cf103, with a *.dl.wel1.ru DNS-TXT fallback), fetches an unsigned binary payload via https.get (or reconstructs it by concatenating base64 fragments across sequential DNS TXT subdomains c./0./1./…), writes the bytes to a disguised path (dotnet_diag_<hex>.exe under TEMP on Windows,.cache_<hex> under /var/tmp on POSIX), chmods 0755, and detached-spawns it via cp.spawn('/bin/sh', ['-c', path+' &'], {detached:true}) or cp.spawn('cmd.exe', ['/c','start','/b', path]). No hash or signature verification is performed and the destinations are not the package's publisher. Execution is gated to skip when DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK are set or when npm_lifecycle_event === 'preuninstall', consistent with evasion of developer/CI/analyst environments. Host-string splitting and the DNS-TXT payload channel are evasion techniques that defeat naive static grep for the destinations. ## Source: ghsa-malware (7fe06d42c0c7ea9d4d5657015f0708a28ef85401c31872ac63709d61ed54f810) 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

npmghsa
devplatform-spa-plugin-devtools
Affected versions
=35.5.6

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:44:04 UTC

Technical Analysis

The devplatform-spa-plugin-devtools npm package version 35.5.6 includes malicious code in its _support.js file. When the package is required, it runs an init() routine that constructs destination hostnames from split string fragments and fetches an unsigned binary payload either via HTTPS or by concatenating base64 fragments from DNS TXT records. The payload is saved to disguised executable files in temporary directories and executed detached from the main process without any hash or signature verification. The code includes evasion mechanisms to avoid execution in developer, CI, or analyst environments by checking environment variables and npm lifecycle events. The use of DNS TXT records and host-string splitting are deliberate obfuscation techniques to evade detection by static analysis tools.

Potential Impact

This malicious behavior allows arbitrary unsigned binary code to be downloaded and executed on the host system, potentially leading to full system compromise, unauthorized access, data theft, or further malware deployment. The evasion techniques reduce the likelihood of detection during development or automated analysis, increasing the risk of persistent undetected infection in environments using this package version.

Mitigation Recommendations

No official patch or remediation is currently documented for this malicious package version. Users should immediately remove devplatform-spa-plugin-devtools version 35.5.6 from their environments and avoid installing or requiring this package. Verify the integrity and provenance of npm packages before use. Monitor for any suspicious processes or files matching the described patterns (e.g., dotnet_diag_<hex>.exe or .cache_<hex> in temporary directories). Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

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-12764
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a73573abf8831d539152648

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

Last enriched: 08/05/2026, 16:44:04 UTC

Last updated: 09/07/2026, 22:31:15 UTC

Views: 19

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