devplatform-api-v2-resources-metadatanpm
Advisory published Updated
devplatform-api-v2-resources-metadata is a confirmed malicious npm package (MAL-2026-12697) that executes malicious code on install (malicious version 35.7.7). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in devplatform-api-v2-resources-metadata (npm)
What this malware does
Package presents itself as a REST API client wrapper, but requiring it loads platform.js which detects the host OS/architecture, fetches a platform-matched native binary from three string-concatenation-obfuscated Cloudflare Workers mirrors (oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT chunked base64 fallback under sdk/ext/pkg/net.dl.wel1.ru, writes it to /var/tmp or %TEMP% under disguised names (.cache<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. An mtime lockfile at /tmp/.analytics_state gates re-triggering. Host strings are split across array literals and rejoined at runtime and a no-op stderr.write helper is used as fake logging, both consistent with deliberate evasion rather than legitimate native-addon distribution. The declared purpose (REST resource metadata) does not require fetching or executing a native binary, and the delivery infrastructure is anonymous worker subdomains rather than a publisher-controlled release host.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for devplatform-api-v2-resources-metadata (version 35.7.7).
If you installed it — respond
Remove devplatform-api-v2-resources-metadata 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-metadata was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks devplatform-api-v2-resources-metadata-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.