devplatform-rest-resources-v2 (npm) · Malicious Code
Affects devplatform-rest-resources-v2Source GCVE Database
Malicious package : remove devplatform-rest-resources-v2 and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:40 UTC
Malicious package
Published to npm · OSV MAL-2026-12746
What to do
Remove devplatform-rest-resources-v2 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmdevplatform-rest-resources-v2 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package devplatform-rest-resources-v2 version 35.9.7 contains malicious code that downloads and executes opaque binary payloads from multiple external hosts. The payloads are fetched over HTTPS from Cloudflare Workers and fallback DNS TXT records, then written to temporary directories with disguised filenames, made executable, and spawned as detached processes. This behavior is unrelated to the package's declared purpose and indicates a malicious dropper mechanism embedded within the package.