Skip to main content

Malicious code in devplatform-spa-plugin-s3-feature-toggle (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:40:04 UTC)
Source: GCVE Database
Product: devplatform-spa-plugin-s3-feature-toggle

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

npmghsa
devplatform-spa-plugin-s3-feature-toggle
Affected versions
=35.7.1

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

AILast updated: 08/05/2026, 16:48:55 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses