Malicious code in devplatform-spa-plugin-module-loader (npm)
The devplatform-spa-plugin-module-loader npm package version 35.8.5 contains malicious code that, upon require, downloads and executes a platform-specific binary from obfuscated and anonymous Cloudflare Workers hosts. The binary is saved to temporary system directories and executed in a detached process. The code uses DNS-TXT record fallback and obfuscation techniques to evade detection. The behavior is disguised as telemetry with an opt-out environment variable, but no legitimate telemetry code is present. This is a supply chain compromise involving a malicious package.
AI Analysis
Technical Summary
The devplatform-spa-plugin-module-loader package version 35.8.5 includes code in index.js that unconditionally loads _platform.js, which downloads a platform-specific binary from obfuscated Cloudflare Workers hosts and a DNS-TXT fallback mechanism. The binary is saved to system temporary directories (/var/tmp/.cache_<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows), given executable permissions, and executed via detached child processes. Hostnames and API calls are assembled from split string fragments to evade detection. The dropped files mimic legitimate cache or diagnostic paths, and comments misleadingly reference integrity checks and rate limiting that are not implemented. An opt-out environment variable named DISABLE_TELEMETRY is present to frame the behavior as analytics, but this is a cover story. The Cloudflare Workers hosts are anonymous and unrelated to any legitimate publisher, indicating malicious intent.
Potential Impact
This malicious package can execute arbitrary code on the host system by downloading and running binaries without user consent. This can lead to system compromise, unauthorized access, data theft, or further malware deployment. The obfuscation and fallback mechanisms increase the difficulty of detection and mitigation. Since the package is from the npm ecosystem, it poses a supply chain risk to any projects that include this specific version.
Mitigation Recommendations
Users should immediately remove version 35.8.5 of devplatform-spa-plugin-module-loader from their projects and replace it with a clean, verified version if available. Since no patch or official fix is indicated, avoid using this package version. Conduct a thorough investigation of any systems where this package was installed to detect and remediate any dropped binaries or spawned processes. Monitor for suspicious activity related to the described file paths and network connections. Check vendor advisories or npm security advisories for updates or remediation guidance.
Malicious code in devplatform-spa-plugin-module-loader (npm)
Description
The devplatform-spa-plugin-module-loader npm package version 35.8.5 contains malicious code that, upon require, downloads and executes a platform-specific binary from obfuscated and anonymous Cloudflare Workers hosts. The binary is saved to temporary system directories and executed in a detached process. The code uses DNS-TXT record fallback and obfuscation techniques to evade detection. The behavior is disguised as telemetry with an opt-out environment variable, but no legitimate telemetry code is present. This is a supply chain compromise involving a malicious package.
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-module-loader package version 35.8.5 includes code in index.js that unconditionally loads _platform.js, which downloads a platform-specific binary from obfuscated Cloudflare Workers hosts and a DNS-TXT fallback mechanism. The binary is saved to system temporary directories (/var/tmp/.cache_<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows), given executable permissions, and executed via detached child processes. Hostnames and API calls are assembled from split string fragments to evade detection. The dropped files mimic legitimate cache or diagnostic paths, and comments misleadingly reference integrity checks and rate limiting that are not implemented. An opt-out environment variable named DISABLE_TELEMETRY is present to frame the behavior as analytics, but this is a cover story. The Cloudflare Workers hosts are anonymous and unrelated to any legitimate publisher, indicating malicious intent.
Potential Impact
This malicious package can execute arbitrary code on the host system by downloading and running binaries without user consent. This can lead to system compromise, unauthorized access, data theft, or further malware deployment. The obfuscation and fallback mechanisms increase the difficulty of detection and mitigation. Since the package is from the npm ecosystem, it poses a supply chain risk to any projects that include this specific version.
Mitigation Recommendations
Users should immediately remove version 35.8.5 of devplatform-spa-plugin-module-loader from their projects and replace it with a clean, verified version if available. Since no patch or official fix is indicated, avoid using this package version. Conduct a thorough investigation of any systems where this package was installed to detect and remediate any dropped binaries or spawned processes. Monitor for suspicious activity related to the described file paths and network connections. Check vendor advisories or npm security advisories for updates or remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12772
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73573abf8831d5391527bc
Added to database: 08/05/2026, 15:31:06 UTC
Last enriched: 08/05/2026, 16:44:40 UTC
Last updated: 08/05/2026, 16:44:40 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.