Malicious code in devplatform-jscodeshift-plugin (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in devplatform-jscodeshift-plugin (npm)
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
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-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.
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 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.