Malicious code in devplatform-spa-plugin-location (npm)
The devplatform-spa-plugin-location npm package version 35.9.2 contains malicious code that acts as a dropper. When required, it loads a script that reconstructs Cloudflare Worker hostnames to fetch and execute arbitrary payloads on the host system. The payload is saved under disguised filenames in temporary directories and executed detached from the main process, evading static analysis. This grants remote code execution to any system importing the compromised module.
AI Analysis
Technical Summary
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.
Malicious code in devplatform-spa-plugin-location (npm)
Description
The devplatform-spa-plugin-location npm package version 35.9.2 contains malicious code that acts as a dropper. When required, it loads a script that reconstructs Cloudflare Worker hostnames to fetch and execute arbitrary payloads on the host system. The payload is saved under disguised filenames in temporary directories and executed detached from the main process, evading static analysis. This grants remote code execution to any system importing the compromised module.
Affected software
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
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.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12770
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73573abf8831d5391510d0
Added to database: 08/05/2026, 15:31:06 UTC
Last enriched: 08/05/2026, 16:43:02 UTC
Last updated: 08/05/2026, 16:43:02 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.