Skip to main content

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

0
Critical
Published: 08/05/2026 (08/05/2026, 15:31:12 UTC)
Source: GCVE Database
Product: devplatform-spa-plugin-s3

Description

The npm package devplatform-spa-plugin-s3 version 35.5.9 contains malicious code that acts as a binary dropper. When required, it fetches a platform-specific binary from suspicious external hosts, writes it to temporary directories under disguised names, sets executable permissions, and executes it detached from the main process. The package uses obfuscation techniques to evade static detection, including dynamic string assembly and covert payload delivery via DNS TXT records. The execution triggers on any require() call of the package, posing a risk of unauthorized code execution.

Affected software

npmghsa
devplatform-spa-plugin-s3
Affected versions
=35.5.9

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, 22:02:33 UTC

Technical Analysis

The devplatform-spa-plugin-s3 npm package at version 35.5.9 includes a malicious binary dropper. Its index.js requires a shim module that downloads a binary from multiple suspicious worker.dev domains, writes it to temporary filesystem locations with disguised filenames, sets executable permissions, and spawns it detached from the parent process. Additionally, a fallback covert channel reconstructs the payload from base64-encoded DNS TXT records under the dl.wel1.ru domain. The package uses obfuscation such as split-string requires and computed method names to evade static analysis. The payload is unverified and unrelated to any legitimate S3 or SPA plugin publisher. This malicious behavior activates immediately upon requiring the package.

Potential Impact

This malicious package enables remote code execution on any system that installs and requires devplatform-spa-plugin-s3 version 35.5.9. The attacker can execute arbitrary binaries downloaded from attacker-controlled infrastructure, potentially leading to full system compromise. The use of obfuscation and covert DNS channels complicates detection and forensic analysis. There is no indication of a legitimate fix or patch, and the package is effectively a supply chain threat.

Mitigation Recommendations

No official patch or remediation is indicated. Users should immediately remove devplatform-spa-plugin-s3 version 35.5.9 from their projects and dependency trees. Avoid installing or requiring this package. Use trusted sources and verify package integrity before installation. Monitor for any unexpected binaries or processes spawned from temporary directories. Consider scanning existing environments for presence of this package and any related dropped binaries. Report the package to npm security teams for takedown and further investigation.

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-13260
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a73852ebf8831d5394f058b

Added to database: 08/05/2026, 18:47:10 UTC

Last enriched: 08/05/2026, 22:02:33 UTC

Last updated: 09/11/2026, 15:48:05 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