{"id":"MAL-2026-12718","revision":"a5f7d98d0ffe4c1d827144a7e55ab66b","records":[{"revision":"a5f7d98d0ffe4c1d827144a7e55ab66b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12718","aliases":[],"title":"Malicious code in devplatform-jscodeshift-transforms (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (37b642060b8d602b0de19c132a792a4979dafc0cb06590dc2f10d14fe0980151)\nOn require() of the package, index.js loads _shim.js which downloads a platform-specific binary from obfuscated Cloudflare Workers hosts (destinations reconstructed via string-split concatenation such as [\"oob-worker.cf102-b\",\"af.workers.\",\"de\",\"v\"].join(\"\")), writes it to /var/tmp or %TEMP% under disguised names like dotnet_diag_*.exe or.cache_*, chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start. When HTTPS retrieval fails, _shim.js falls back to a DNS-TXT covert channel: it resolves TXT records on numbered subdomains under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru and base64-reassembles the responses into the executable buffer. API names (require(\"child_\" + \"process\"), fs[\"chmod\" + \"Sync\"]) are likewise split to evade static analysis, and env-var checks (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) plus cover-story identifiers (analytics_state, telemetry.js) frame the loader as benign analytics. The package name mimics an internal jscodeshift transforms wrapper.\n","state":0,"publishedAt":"2026-08-05T13:49:21+00:00","modifiedAt":"2026-08-05T14:36:40.0960187+00:00","affected":[{"ecosystem":"npm","name":"devplatform-jscodeshift-transforms","ranges":[],"versions":["35.9.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-jscodeshift-transforms/v/35.9.5"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12718","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12718","identifiers":["MAL-2026-12718"]},"retained":false,"historicalAffected":[]}],"coverage":[]}