Malicious code in devplatform-spa-plugin-remote-module (npm)
The npm package devplatform-spa-plugin-remote-module contained malicious code that downloads and executes platform-specific binaries from attacker-controlled hosts on package require. The dropper uses obfuscation techniques and DNS TXT record fallbacks to retrieve payloads.
- Disclosed
- Last updated
- Blast radius
- Any developer or application using devplatform-spa-plugin-remote-module from npm; runtime execution of arbitrary binaries on affected systems.
- Ecosystems
- Attack vectors
- Affected entities
- devplatform-spa-plugin-remote-modulenpm package containing malicious dropper code
The npm package devplatform-spa-plugin-remote-module was found to contain malicious code that executes on package import. The index.js file loads support.js, which downloads platform-specific binaries from attacker-controlled Cloudflare Workers domains (oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS TXT record fallback mechanism that reassembles base64-encoded payloads from numbered subdomains under dl.wel1.ru.\n\nThe downloaded binary is written to temporary directories (/var/tmp on Unix or %TEMP% on Windows) under disguised filenames (.cache or dotnet_diag_.exe), made executable (chmod 0o755), and spawned as a detached process via shell commands (/bin/sh -c or cmd.exe /c start). A secondary module lib/telemetry.js contains identical dropper primitives with obfuscated require statements and filesystem operations.\n\nThe malicious code uses runtime string reconstruction (e.g., array-join fragments) to evade static analysis detection. The incident was identified by Amazon Inspector and credited to the OpenSSF malicious-packages repository.\n\nAny system that installed and required this package would execute arbitrary attacker-controlled binaries with the privileges of the Node.js process.
Indicators of compromise
- Packages
- devplatform-spa-plugin-remote-module
- Domains
- oob-worker.cf103-070.workers.dev
- oob-worker.cf99-9b3.workers.dev
- oob-worker.cf101-adf.workers.dev
- dl.wel1.ru
- sdk.dl.wel1.ru
- ext.dl.wel1.ru
- pkg.dl.wel1.ru
- net.dl.wel1.ru
Remediation
- Immediately remove devplatform-spa-plugin-remote-module from all projects and dependencies
- Audit npm package.json and lock files for any presence of this package
- Review process execution logs and temporary directories (/var/tmp, %TEMP%) for suspicious binaries on affected systems
- Regenerate any credentials or secrets that may have been exposed on systems that executed this package
- Update to a clean version if a patched release is available, or use an alternative package
- Implement npm package scanning and verification in CI/CD pipelines to detect malicious packages before installation
Sources
- GitHub Advisory GHSA-6gv7-vp67-85r2 · GitHub Advisory Database
Cite this entry
"Malicious code in devplatform-spa-plugin-remote-module (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 7, 2026; last updated August 7, 2026. https://supplychainattack.org/incident/malicious-code-in-devplatform-spa-plugin-remote-module-npm-26u3gb
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in autbank-core (npm)
The npm package autbank-core contained malicious preinstall and postinstall lifecycle hooks that exfiltrated environment variables, credentials, and system information to a hardcoded webhook.site endpoint during installation.
npmCompromised package - resolvedcritical
Malicious code in adxaa (npm)
The npm package adxaa contained obfuscated malicious JavaScript designed to target users of a specific WordPress site. The payload exfiltrates session data, deletes accounts, and hijacks credentials via email overwrite and password reset.
npmCompromised package - resolvedcritical
Malicious code in upload-to-gcp (npm)
upload-to-gcp@3.2.1 (npm) contains malicious code in its postinstall script that exfiltrates host identifiers to an attacker-controlled endpoint. The package masquerades as a Google Cloud Platform utility but performs unauthorized telemetry collection at install time.
npmCompromised package - resolvedcritical
Malicious code in akamai-sensor (npm)
A malicious npm package named akamai-sensor impersonated Akamai's legitimate sensor_data anti-bot SDK. The package contained hidden JavaScript code concealed using invisible Unicode characters and implemented a dynamic command-and-control channel via a Google Calendar dead-drop, enabling arbitrary code execution on installation.
npmCompromised packageTyposquatting