Skip to main content

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

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

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (cb9472f7623159163739228ed6ec07beb8599d3867f7c5215e4bf0e4bbde5a78) On require() of the package, index.js loads _vendor.js, which selects a platform-specific payload URL by joining string fragments to reconstruct Cloudflare Worker hostnames (oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev), with a DNS-TXT chunked base64 fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The fetched bytes are written to /var/tmp or %TEMP% under disguised names (e.g. 'dotnet_diag_*.exe', '.cache_*'), chmod 0755, and executed detached via spawn('/bin/sh', ['-c', fp + ' &'], {detached:true}).unref() or spawn('cmd',...). Hostname fragments are array-joined at runtime and a helper suppresses console output, deliberately evading static inspection. The package name resembles a legitimate SPA plugin but the shipped _vendor.js is a dropper granting arbitrary remote code execution on any host that imports the module. ## Source: ghsa-malware (efc283f86f94400db2d3b8e9aea0b1c936d347f16a36df77dde30b00eb2c7980) 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-location
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:43:02 UTC

Technical Analysis

The devplatform-spa-plugin-location package (version 35.9.2) includes a malicious _vendor.js script that dynamically constructs URLs to Cloudflare Worker hosts and fallback domains to download binary payloads. These payloads are written to temporary directories with disguised names, permissions set to executable, and launched in a detached manner using shell commands. The code suppresses console output and uses runtime string joining to evade static detection. This behavior effectively turns the package into a remote code execution dropper, compromising any host that imports it.

Potential Impact

Any system that installs and imports devplatform-spa-plugin-location version 35.9.2 is at risk of arbitrary remote code execution. The malicious payload can execute with the privileges of the importing process, potentially leading to full system compromise, data theft, or further malware deployment.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately remove and avoid using devplatform-spa-plugin-location version 35.9.2. Verify that no unauthorized binaries have been executed from temporary directories. Monitor for suspicious processes spawned from npm modules. Check vendor advisories or trusted security sources for updates or fixes.

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

Threat ID: 6a73573abf8831d5391510d0

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

Last enriched: 08/05/2026, 16:43:02 UTC

Last updated: 09/07/2026, 21:59:24 UTC

Views: 20

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