MAL-2026-12785
Dashboard / Malicious Package / MAL-2026-12785
MAL-2026-12785
Summary: Malicious code in devplatform-spa-tokens (npm)
Details: Source: amazon-inspector (6127d0c2ccf2b21fdd6f22244b040c905b2296c86c47cc3c4eb012b61a4c455a) On require(), index.js loads _support.js, which assembles Cloudflare Workers hostnames (oob-worker.cf*.workers.dev) and fallback domain sdk.dl.wel1.ru at runtime from split string arrays joined via.join(""), downloads a platform-specific binary from those hosts (with a DNS TXT chunked fallback via c.<domain>/i.<domain> records when HTTPS is blocked), writes the payload to a temp path with a disguised name (e.g. dotnet_diag_<rand>.exe,.cache_<rand>), chmods 0755 on POSIX, and spawns it detached via spawn("/bin/sh") or spawn("cmd"). Execution is gated by DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK env vars and a /tmp/.analytics_state cache, framing the dropper as analytics. The advertised TokenManager API is a decoy — no relation to the download-and-execute behavior. Destination hosts are anonymous workers.dev / lookalike infrastructure, not the package's stated purpose or publisher. Source: ghsa-malware (0b2287b5f70bc9779abda2839f7d2e2227ec977e332d78d5ae5da19b84a0a143) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://www.npmjs.com/package/devplatform-spa-tokens/v/35.3.1, https://github.com/advisories/GHSA-67wj-rrpv-vxwq
Affected packages
Package
Name: devplatform-spa-tokens
Purl: pkg:npm/devplatform-spa-tokens
Affected ranges
Type: SEMVER
Events:
