mc-registrynpm
mc-registry is a confirmed malicious npm package (MAL-2026-14294) that executes malicious code on install (malicious versions 1.0.8, 1.0.9, 1.0.10). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in mc-registry (npm)
What this malware does
Package publishes as mc-registry with description 'Theta chain registry', but its README, badges, homepage layout, and package listing copy the legitimate hyperweb-io/chain-registry npm package. The README instructs users to npm install theta-registry and import { assets, chains, ibc } from 'theta-registry', while the shipped name is mc-registry and the shipped API diverges from chain-registry by re-exporting HttpProvider from an unrelated third-party dependency chain-analyze (^1.0.4). The ESM entry esm/index.js performs import { HttpProvider } from 'chain-analyze'; at top level, so any consumer that does import 'mc-registry' loads and executes chain-analyze code in the installer/consumer process. chain-analyze is not part of the chain-registry ecosystem and has no relationship to the advertised 'chain registry' data purpose. The internal accessor is named loadPartnerVaultHttpProvider, further indicating the module funnels callers into an unvetted HTTP provider from the injected dependency. Files esm/mainnet/persistence/chain.js and mainnet/persistence/chain.js contain ping/POST network patterns co-located with chain persistence logic.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for mc-registry (3 malicious versions).
If you installed it — respond
Remove mc-registry from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If mc-registry was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks mc-registry-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.