Malicious code in devplatform-spa-plugin-s3-feature-toggle (npm)
The npm package devplatform-spa-plugin-s3-feature-toggle version 35.7.1 contains malicious code that executes on import. It downloads and runs an unverified native binary from obfuscated Cloudflare Workers subdomains or, if that fails, via a DNS TXT record covert channel. The binary is saved to temporary locations with hidden filenames and executed without signature verification, enabling full remote code execution on the host during npm install or require().
AI Analysis
Technical Summary
The devplatform-spa-plugin-s3-feature-toggle npm package (version 35.7.1) includes malicious code that triggers on require(). It loads a runtime script which selects a platform-specific endpoint and downloads a binary over HTTPS from obfuscated Cloudflare Workers subdomains. The binary is saved to a temporary directory with hidden filenames and executed with elevated permissions. If HTTPS delivery fails, the package falls back to retrieving the binary via DNS TXT record queries from attacker-controlled domains, reconstructing the payload from base64-encoded chunks. No hash or signature verification is performed on the downloaded binary, which is opaque and delivered from anonymous infrastructure. This behavior results in full remote code execution on the host machine during package installation or import.
Potential Impact
This malicious package enables an attacker to execute arbitrary native code remotely on the host system during npm install or require(), potentially leading to complete system compromise. The use of obfuscated domains and a DNS-based fallback channel complicates detection and blocking. The lack of binary verification increases the risk of executing arbitrary payloads controlled by the attacker.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or requiring devplatform-spa-plugin-s3-feature-toggle version 35.7.1. Remove the package from any affected environments and audit systems for signs of compromise. Monitor for updates from the package maintainer or npm security advisories for any official fixes or removal actions. Employ network controls to block connections to the identified malicious domains if possible.
Malicious code in devplatform-spa-plugin-s3-feature-toggle (npm)
Description
The npm package devplatform-spa-plugin-s3-feature-toggle version 35.7.1 contains malicious code that executes on import. It downloads and runs an unverified native binary from obfuscated Cloudflare Workers subdomains or, if that fails, via a DNS TXT record covert channel. The binary is saved to temporary locations with hidden filenames and executed without signature verification, enabling full remote code execution on the host during npm install or require().
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-s3-feature-toggle npm package (version 35.7.1) includes malicious code that triggers on require(). It loads a runtime script which selects a platform-specific endpoint and downloads a binary over HTTPS from obfuscated Cloudflare Workers subdomains. The binary is saved to a temporary directory with hidden filenames and executed with elevated permissions. If HTTPS delivery fails, the package falls back to retrieving the binary via DNS TXT record queries from attacker-controlled domains, reconstructing the payload from base64-encoded chunks. No hash or signature verification is performed on the downloaded binary, which is opaque and delivered from anonymous infrastructure. This behavior results in full remote code execution on the host machine during package installation or import.
Potential Impact
This malicious package enables an attacker to execute arbitrary native code remotely on the host system during npm install or require(), potentially leading to complete system compromise. The use of obfuscated domains and a DNS-based fallback channel complicates detection and blocking. The lack of binary verification increases the risk of executing arbitrary payloads controlled by the attacker.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or requiring devplatform-spa-plugin-s3-feature-toggle version 35.7.1. Remove the package from any affected environments and audit systems for signs of compromise. Monitor for updates from the package maintainer or npm security advisories for any official fixes or removal actions. Employ network controls to block connections to the identified malicious domains if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12778
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a73573bbf8831d539152eff
Added to database: 08/05/2026, 15:31:07 UTC
Last enriched: 08/05/2026, 16:48:55 UTC
Last updated: 09/07/2026, 22:12:31 UTC
Views: 18
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.