{"id":"MAL-2026-12696","revision":"5e1d609e7d2446eb9c03df03a0b7874c","records":[{"revision":"5e1d609e7d2446eb9c03df03a0b7874c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12696","aliases":[],"title":"Malicious code in devplatform-api-v2-resources (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (186e6a9062d157dd85fb6e2ec2fc4a81294569d2cca0c2ade69f2e97075616ed)\nOn require() of devplatform-api-v2-resources@35.3.8, index.js loads./_polyfill.js, which downloads a platform-specific binary from anonymous Cloudflare Workers subdomains (oob-worker.cf1*-*.workers.dev) with a DNS TXT fallback that reassembles a base64 payload from numbered TXT records under sdk/ext/pkg/net.dl.wel1.ru. Destination hostnames are constructed at runtime by joining split-string fragments (e.g. [\"oob-worker.cf101-adf.wor\",\"kers\",\".de\",\"v\"].join(\"\")) to evade static analysis. The fetched bytes are written to /tmp/.cache_<hex> or %TEMP%\\dotnet_diag_<hex>.exe with disguised names, chmod 0755, and spawned detached via cp.spawn(\"/bin/sh\",[\"-c\", fp+\" &\"], {detached:true}).unref() (or spawn(\"cmd\",...) on Windows). A cache stamp suppresses re-download within a TTL. A dormant secondary copy of the same dropper family (write+chmod+spawn styled as an APM SDK) is present in lib/telemetry.js but is not reached from the current loader graph. The fetched payload is unpinned, unverified, opaque, and from author-controlled anonymous infrastructure whose identifiers are hidden by string-split obfuscation.\n","state":0,"publishedAt":"2026-08-05T13:52:41+00:00","modifiedAt":"2026-08-05T14:36:30.2656409+00:00","affected":[{"ecosystem":"npm","name":"devplatform-api-v2-resources","ranges":[],"versions":["35.3.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-api-v2-resources/v/35.3.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12696","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12696","identifiers":["MAL-2026-12696"]},"retained":false,"historicalAffected":[]}],"coverage":[]}