Skip to main content

Malicious code in devplatform-jscodeshift-plugin (npm)

0
High
Published: 08/05/2026 (08/05/2026, 13:49:40 UTC)
Source: GCVE Database
Product: devplatform-jscodeshift-plugin

Description

The devplatform-jscodeshift-plugin npm package version 35.4.1 is a malicious package masquerading as a legitimate plugin. Upon requiring the package, it reconstructs Cloudflare Workers hostnames from fragmented strings and uses a DNS-TXT fallback channel to download a platform-specific binary. This binary is saved to temporary directories, given executable permissions, and executed detached from the main process. The dropped artifacts impersonate telemetry or .NET diagnostics tools and respect environment variables intended to disable telemetry to avoid detection. The package contains no legitimate plugin functionality and appears to be a name-squatting lure designed solely to drop and execute a remote payload.

Affected software

npmghsa
devplatform-jscodeshift-plugin
Affected versions
=35.4.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:32:38 UTC

Technical Analysis

The devplatform-jscodeshift-plugin npm package version 35.4.1 is identified as malicious. When loaded, its index.js script loads a loader module that reconstructs Cloudflare Workers hostnames from split string fragments and uses a DNS-TXT fallback channel via resolvers under 'sdk.dl.wel1.ru'. It downloads a platform-specific binary payload, writes it to a temporary directory (/var/tmp/.cache_<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows), sets executable permissions (chmod 0o755), and spawns the binary in a detached process using shell commands. The payload files mimic telemetry or .NET diagnostic tools and honor environment variables such as DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, and DO_NOT_TRACK to provide a cover story. The package does not provide any jscodeshift-plugin functionality and is a name-squatting lure intended to deliver and execute malicious code remotely.

Potential Impact

This malicious package can execute arbitrary code on the host system by downloading and running a remote binary payload without user consent. The payload runs detached from the main process and attempts to evade detection by impersonating legitimate telemetry or diagnostic tools and respecting environment variables that disable telemetry. This can lead to unauthorized code execution, potential system compromise, and persistence on affected systems.

Mitigation Recommendations

No official patch or remediation is currently available. Users should immediately remove the devplatform-jscodeshift-plugin package version 35.4.1 from their environments. Avoid installing or using this package, and verify the authenticity of npm packages before use. Monitor for any unexpected binaries in temporary directories and investigate any suspicious processes spawned from npm packages. Check vendor advisories or npm security advisories for updates or official guidance.

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

Threat ID: 6a735738bf8831d53914a5b5

Added to database: 08/05/2026, 15:31:04 UTC

Last enriched: 08/05/2026, 16:32:38 UTC

Last updated: 09/07/2026, 22:09:06 UTC

Views: 20

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