Skip to main content
MalwarePublished

create-coin (npm) · Malicious Code

Affects create-coinSource GCVE Database

0

Malicious package : remove create-coin and rotate any secrets on hosts that installed it.

Data as of 23 Aug 2026, 13:49 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14372

What to do

Remove create-coin 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
npmcreate-coinAffected
  • =20.1.1
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 create-coin@20.1.1 contains malicious code that executes during installation via a postinstall hook. This code performs environment checks to evade analysis, delays execution, and then collects extensive system and project information, including environment variables, user and host details, and local project files. The collected data is exfiltrated over HTTPS to a hardcoded external server. The package masquerades as a legitimate esbuild-related package but is unrelated, indicating a typosquatting attack.

References

Community reviews

Loading reviews…