Skip to main content

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

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

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (809274addc0525244480b108485ad3dbdba1a92b65025c1c48d549dd03c45f0b) On require of the package, index.js loads _bridge.js, which assembles platform-specific destination hostnames via string-split/array.join obfuscation and downloads an opaque binary over HTTPS from Cloudflare Workers hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev) with a DNS-TXT chunked fallback channel (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru). The fetched bytes are written to /tmp or %TEMP% under disguised names (.cache_<rnd>, dotnet_diag_<rnd>.exe), chmod 0755, and spawned detached via cp.spawn("/bin/sh", ["-c", fp + " &"], {detached:true}).unref(), with a marker file used to gate re-execution. A sibling module in lib/telemetry.js resolves child_process via 'child_' + 'process' string concatenation, corroborating deliberate static-analysis evasion. Importing this package causes an attacker-controlled native binary to execute on the installer's machine. ## Source: ghsa-malware (6eae746404d92a5c5a06e6a6c0f193dfe1cd697841d04c825513c6d711fad214) 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-history
Affected versions
=35.1.4

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:26 UTC

Technical Analysis

The devplatform-spa-plugin-history npm package version 35.1.4 includes malicious functionality embedded in its index.js file. Upon requiring the package, it loads _bridge.js which constructs platform-specific hostnames using string obfuscation and downloads an opaque binary payload over HTTPS from Cloudflare Workers domains with a DNS-TXT fallback mechanism. The payload is saved to temporary directories under disguised filenames, permissions are set to executable, and it is spawned as a detached process via a shell command. Additional obfuscation is present in sibling modules to evade static analysis. This results in execution of attacker-controlled native code on the machine that installs or imports the package.

Potential Impact

An attacker can execute arbitrary native code on the host system simply by importing the affected package version, potentially leading to full system compromise, data theft, or further malicious activity. The execution is stealthy due to obfuscation and use of temporary disguised files, increasing the risk of undetected compromise.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or importing devplatform-spa-plugin-history version 35.1.4. Remove any existing installations of this package from environments. Monitor for suspicious activity related to this package and its downloaded binaries. Check vendor or repository advisories for updates or removal notices. Since this is a malicious package, consider using trusted package sources and scanning dependencies for malicious content.

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

Threat ID: 6a73573abf8831d5391524fa

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

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

Last updated: 09/07/2026, 23:28:36 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