MAL-2026-12696
Dashboard / Malicious Package / MAL-2026-12696
MAL-2026-12696
Summary: Malicious code in devplatform-api-v2-resources (npm)
Details: Source: amazon-inspector (186e6a9062d157dd85fb6e2ec2fc4a81294569d2cca0c2ade69f2e97075616ed) On require() of [email protected], 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.
Affected packages
Package
Name: devplatform-api-v2-resources
Purl: pkg:npm/devplatform-api-v2-resources
Affected ranges
Type: N/A
Events:
