MAL-2026-12700 Malicious code in devplatform-cli-contracts (npm)

Malicious package Published
Package
devplatform-cli-contracts
Registry
npm

What is MAL-2026-12700?

MAL-2026-12700 is a malicious package in devplatform-cli-contracts, published on 5 Aug 2026.

Official description

On require() of the package, index.js loads compat.js which reconstructs destination hostnames from split string arrays (e.g. ["oob-worker.cf100-416.worker","s.","dev"].join("") and DNS-TXT fallbacks assembled from ['sd','k.dl.wel1.','ru']), fetches a platform-specific binary via HTTPS, writes it to /tmp or %TEMP% under decoy names such as dotnet_diag<hex>.exe and.cache_<hex>, chmods 0755, and spawns it detached via cp.spawn("/bin/sh",["-c", fp+" &"],{detached:true}).unref(). A cooldown marker (.analytics_state) suppresses repeat execution. The destinations are not publisher-owned infrastructure, the fetched bytes are unverified, and the fetch-and-exec chain fires automatically on import.

What should I do about MAL-2026-12700?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-12700 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free