Skip to main content
MalwarePublished Updated

mc-reg (npm) · Malicious Code

Affects mc-regSource GCVE Database

0

Malicious package : remove mc-reg and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 15:56 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10637

What to do

Remove mc-reg 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
npmmc-regAffected
  • 1.0.2 – 1.0.8
7 affected builds
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 mc-reg, advertised as a Cosmos chain-registry data package, contains malicious code that intercepts and exfiltrates wallet secrets. Instead of exposing expected chain-registry data, it imports a dependency (chain-sdk-js) whose code steals BIP-39 mnemonic phrases and private keys by sending them to a hardcoded external host. The mc-reg package acts as a lure to route users into this malicious code path upon installation or import.

References

Community reviews

Loading reviews…