Skip to main content

Malicious code in devplatform-vite-plugin-external (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 15:05:14 UTC)
Source: GCVE Database
Product: devplatform-vite-plugin-external

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (7a591855b5f44a53d20e6258728aeb5c0254fb10dac285f579fffcfc97608061) The package's main entry (index.js) unconditionally requires./setup on load. setup.js selects an OS/arch-specific endpoint and downloads a binary from a rotating list of Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev) whose hostnames are assembled via array-join string splitting to evade static analysis, with a DNS-TXT chunked fallback across sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The fetched bytes are written to a temp path under a disguised name ('dotnet_diag_<tag>.exe' on Windows or '.cache_<tag>' on POSIX), chmod 0755, and spawned detached via cmd.exe /c start /b or /bin/sh -c "fp &". There is no hash or signature verification of the downloaded payload; the source hosts are attacker-controlled infrastructure unrelated to the package's stated Vite-plugin purpose. Execution is suppressed by DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK environment variables and cached via a marker file with a ~21329s TTL, framing the behavior as telemetry while dropping and running an opaque binary. Any consumer that requires or imports this package triggers full-host code execution under attacker control. ## Source: ghsa-malware (8c85582964f88194107914cd82214c07879ac0ae310f6fd7af6c885b30145a71) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected software

npmghsa
devplatform-vite-plugin-external
Affected versions
=35.3.6

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:01:42 UTC

Technical Analysis

The devplatform-vite-plugin-external package version 35.3.6 includes malicious functionality in its main entry (index.js), which unconditionally requires a setup.js script. This script dynamically constructs hostnames to evade static detection and downloads a binary payload from attacker-controlled Cloudflare Workers endpoints and fallback domains. The binary is saved to a temporary path with a disguised filename, given executable permissions, and executed detached from the main process. No integrity checks such as hash or signature verification are performed on the downloaded payload. Execution is suppressed by environment variables related to telemetry opt-out and cached with a marker file to avoid repeated downloads within a TTL of approximately 21329 seconds. This results in arbitrary code execution on any system that imports or requires this package.

Potential Impact

Any consumer that imports or requires devplatform-vite-plugin-external version 35.3.6 will trigger the download and execution of an attacker-controlled binary, resulting in full-host code execution under the attacker's control. This can lead to complete compromise of the affected system. The malicious payload is delivered without integrity verification, increasing the risk of undetected compromise. The attack is disguised as telemetry activity and attempts to evade detection by suppressing execution logs and caching behavior.

Mitigation Recommendations

No official patch or remediation is currently documented for this malicious package version. Users should immediately remove and avoid using devplatform-vite-plugin-external version 35.3.6. Verify all dependencies and replace this package with a trusted alternative. Monitor for any signs of compromise if this package was previously used. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates on remediation.

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

Threat ID: 6a73852ebf8831d5394f05a0

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

Last enriched: 08/05/2026, 22:01:42 UTC

Last updated: 09/09/2026, 20:58:16 UTC

Views: 24

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