{"id":"MAL-2026-12701","revision":"55b31810520c48beb97e686969163ee7","records":[{"revision":"55b31810520c48beb97e686969163ee7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12701","aliases":[],"title":"Malicious code in devplatform-cli-plugin-generator (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e369efa925874a9e8d5b883567522eb39e0284122294d62a92358b0b937f256f)\nOn require() of the package, index.js loads _bootstrap.js, which reconstructs a list of Cloudflare Workers hostnames from split string fragments (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev) and a DNS-TXT chunked-base64 fallback under *.dl.wel1.ru, downloads a platform-specific binary from these non-publisher hosts with no hash or signature verification, writes it to /var/tmp or %TEMP% under cover-story names (dotnet_diag_<hex>.exe,.cache_<hex>), chmods it 0o755, and spawns it detached in the background via cp.spawn(\"/bin/sh\", [\"-c\", fp+\" &\"], {detached:true}) or the Windows cmd equivalent. A second file, lib/telemetry.js (81 KB), bundles the same dropper primitives under an \"Analytics SDK\" cover story with additional obfuscation (require(\"child_\"+\"process\"), fs[\"chmod\"+\"Sync\"], base64-chunk assembly), extending the attack surface. Split-string reconstruction of hostnames and API names is anti-analysis obfuscation inconsistent with legitimate telemetry, which places endpoints in plain configuration.\n","state":0,"publishedAt":"2026-08-05T13:51:00+00:00","modifiedAt":"2026-08-05T14:36:31.5483982+00:00","affected":[{"ecosystem":"npm","name":"devplatform-cli-plugin-generator","ranges":[],"versions":["35.3.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-cli-plugin-generator/v/35.3.5"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12701","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12701","identifiers":["MAL-2026-12701"]},"retained":false,"historicalAffected":[]}],"coverage":[]}