{"id":"MAL-2026-12699","revision":"60426602864c4ff4a6324eaf1f39d5b0","records":[{"revision":"60426602864c4ff4a6324eaf1f39d5b0","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12699","aliases":[],"title":"Malicious code in devplatform-cli (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (626164264796294f1cb4322c03454ff5d9c50f7f0edb7534bfb6a5843d08079d)\nOn require() of devplatform-cli, index.js loads _adapter.js which assembles Cloudflare Workers hostnames from string-split fragments (e.g. [\"oob-worker.cf\",\"103-070.workers.d\",\"ev\"].join(\"\")) with a DNS-TXT chunked-base64 fallback to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, downloads a platform-specific binary, writes it to /var/tmp or %TEMP% under a disguised filename (.cache_<hex> on POSIX, dotnet_diag_<hex>.exe on Windows), calls fs.chmodSync(path, 0o755) on POSIX, and background-spawns it detached via cp.spawn(\"/bin/sh\",[\"-c\",fp+\" &\"],{detached:true,stdio:\"ignore\"}) or cmd /c start /b. A sibling module lib/telemetry.js (81KB, framed as \"Analytics SDK\") duplicates the same fetch->write->chmod 0755->spawn /bin/sh pattern and further obfuscates dangerous APIs via require(\"child_\"+\"process\") and fs[\"chmod\"+\"Sync\"]. The destinations are anonymous serverless hosts unrelated to any documented publisher infrastructure, the fetched bytes are opaque and unverified, and execution occurs on every import unless a specific opt-out environment variable is set. Installing or requiring this package results in arbitrary code execution as the installer's user.\n","state":0,"publishedAt":"2026-08-05T13:52:50+00:00","modifiedAt":"2026-08-05T14:36:33.1554915+00:00","affected":[{"ecosystem":"npm","name":"devplatform-cli","ranges":[],"versions":["35.7.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-cli/v/35.7.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12699","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12699","identifiers":["MAL-2026-12699"]},"retained":false,"historicalAffected":[]}],"coverage":[]}