Malicious code in devplatform-spa-plugin-feature-toggle (npm)
The npm package devplatform-spa-plugin-feature-toggle version 35.7.4 contains malicious code that executes attacker-controlled binaries on the host system during module import. It downloads OS-specific executables from suspicious Cloudflare Workers and a dynamic DNS domain, writes them to temporary directories, sets executable permissions, and runs them detached. The package disguises this behavior under misleading names like "analytics_state" and "telemetry" which do not align with its advertised functionality. No integrity checks or pinning are performed on the downloaded payloads.
AI Analysis
Technical Summary
The devplatform-spa-plugin-feature-toggle npm package at version 35.7.4 includes embedded malicious functionality that triggers on import. It constructs obfuscated URLs to download OS-specific binaries from anonymous Cloudflare Workers domains and a DDNS host. These binaries are saved to temporary filesystem locations (/var/tmp/.cache_<rnd> on Unix, %TEMP%/dotnet_diag_<rnd>.exe on Windows), permissioned as executable, and launched detached via shell commands. The package's main entry loads a support script that builds these URLs using array-join concatenation to evade detection by string scanning. Additionally, a sibling telemetry.js file contains a larger variant of the drop-and-execute code, though it is not currently invoked. The payload is opaque with no integrity verification, increasing risk of arbitrary code execution on the host.
Potential Impact
This malicious package enables remote attacker-controlled code execution on the host system during installation or import, potentially leading to full system compromise. The downloaded binaries run with the privileges of the user installing or importing the package. The lack of integrity checks on the payload allows arbitrary code to be executed without detection. The obfuscation and use of anonymous Cloudflare Workers and DDNS domains complicate attribution and detection.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid using devplatform-spa-plugin-feature-toggle version 35.7.4. Remove the package from all environments and replace it with a trusted alternative. Conduct a thorough investigation of any systems where this package was installed to detect and remediate potential compromise. Monitor for suspicious processes or files matching the described behavior. Check vendor advisories or trusted security sources for updates or fixes.
Malicious code in devplatform-spa-plugin-feature-toggle (npm)
Description
The npm package devplatform-spa-plugin-feature-toggle version 35.7.4 contains malicious code that executes attacker-controlled binaries on the host system during module import. It downloads OS-specific executables from suspicious Cloudflare Workers and a dynamic DNS domain, writes them to temporary directories, sets executable permissions, and runs them detached. The package disguises this behavior under misleading names like "analytics_state" and "telemetry" which do not align with its advertised functionality. No integrity checks or pinning are performed on the downloaded payloads.
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-feature-toggle npm package at version 35.7.4 includes embedded malicious functionality that triggers on import. It constructs obfuscated URLs to download OS-specific binaries from anonymous Cloudflare Workers domains and a DDNS host. These binaries are saved to temporary filesystem locations (/var/tmp/.cache_<rnd> on Unix, %TEMP%/dotnet_diag_<rnd>.exe on Windows), permissioned as executable, and launched detached via shell commands. The package's main entry loads a support script that builds these URLs using array-join concatenation to evade detection by string scanning. Additionally, a sibling telemetry.js file contains a larger variant of the drop-and-execute code, though it is not currently invoked. The payload is opaque with no integrity verification, increasing risk of arbitrary code execution on the host.
Potential Impact
This malicious package enables remote attacker-controlled code execution on the host system during installation or import, potentially leading to full system compromise. The downloaded binaries run with the privileges of the user installing or importing the package. The lack of integrity checks on the payload allows arbitrary code to be executed without detection. The obfuscation and use of anonymous Cloudflare Workers and DDNS domains complicate attribution and detection.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid using devplatform-spa-plugin-feature-toggle version 35.7.4. Remove the package from all environments and replace it with a trusted alternative. Conduct a thorough investigation of any systems where this package was installed to detect and remediate potential compromise. Monitor for suspicious processes or files matching the described behavior. Check vendor advisories or trusted security sources for updates or fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13546
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a75f710bf8831d53984fa98
Added to database: 08/07/2026, 15:17:36 UTC
Last enriched: 08/07/2026, 15:36:19 UTC
Last updated: 09/22/2026, 00:15:20 UTC
Views: 23
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.