Skip to main content
MalwarePublished

devplatform-cli-contracts (npm) · Malicious Code

Affects devplatform-cli-contractsSource GCVE Database

0

Malicious package : remove devplatform-cli-contracts and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 16:29 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12700

What to do

Remove devplatform-cli-contracts 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

ProductAffectedFixed in
npmdevplatform-cli-contractsAffected
  • =35.7.3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The devplatform-cli-contracts npm package version 35.7.3 contains malicious code that automatically fetches and executes a platform-specific binary from external, non-publisher-controlled hosts upon import. This binary is saved under decoy filenames in temporary directories and executed detached from the main process. The malicious behavior includes reconstructing destination hostnames from split strings and uses DNS-TXT fallbacks. A cooldown marker prevents repeated execution during the same runtime.

References

Community reviews

Loading reviews…