MAL-2026-12700 Malicious code in devplatform-cli-contracts (npm)
Malicious package
Published
MAL-2026-12700 is a malicious package: devplatform-cli-contracts (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12700/ (Markdown: https://insights.sbomify.com/MAL-2026-12700/index.md)
- 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.