devplatform-api-v2-resourcesnpm
devplatform-api-v2-resources is a confirmed malicious npm package (MAL-2026-12696) that executes malicious code on install (malicious version 35.3.8). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in devplatform-api-v2-resources (npm)
What this malware does
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for devplatform-api-v2-resources (version 35.3.8). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging devplatform-api-v2-resources across your stack and pipelines.
If you installed it — respond
Remove devplatform-api-v2-resources from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If devplatform-api-v2-resources was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.
How O3 protects you
O3 blocks devplatform-api-v2-resources before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks devplatform-api-v2-resources-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.