{"id":"MAL-2026-12717","revision":"dfdfa2f56c3e427090e9c98791595ded","records":[{"revision":"dfdfa2f56c3e427090e9c98791595ded","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12717","aliases":[],"title":"Malicious code in devplatform-jscodeshift-plugin (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (92dcd946aaaf9b57795f9a94877df34a69ac39828620c58e2cf4b72cd7a9c253)\nOn require(), index.js loads _loader.js, which reconstructs Cloudflare Workers hostnames from split string fragments (e.g. ['oob-worke','r.cf101-a','df.workers.d','ev'].join('')) and a DNS-TXT fallback channel via fragmented 'sdk.dl.wel1.ru' resolvers, downloads a platform-specific binary, writes it to /var/tmp/.cache_<hex> on Unix or %TEMP%\\dotnet_diag_<hex>.exe on Windows, chmods it 0o755, and spawns it detached via cp.spawn('/bin/sh',['-c', fp+' &']) or spawn('cmd',...). The dropped artifacts use names impersonating telemetry / dotnet diagnostics, and environment variables like DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK are honored to provide a cover story. The package has no jscodeshift-plugin functionality and appears to be a name-squat lure whose only purpose is dropping and executing this remote payload.\n","state":0,"publishedAt":"2026-08-05T13:49:40+00:00","modifiedAt":"2026-08-05T14:36:39.5391457+00:00","affected":[{"ecosystem":"npm","name":"devplatform-jscodeshift-plugin","ranges":[],"versions":["35.4.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-jscodeshift-plugin/v/35.4.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12717","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12717","identifiers":["MAL-2026-12717"]},"retained":false,"historicalAffected":[]}],"coverage":[]}