Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

mc-regnpm

mc-reg is a confirmed malicious npm package (MAL-2026-10637) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.2, 1.0.3, 1.0.4…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in mc-reg (npm)

MAL-2026-10637
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall mc-reg

What this malware does

mc-reg advertises itself as a Cosmos chain-registry data package (README shows chain-registry-style assets/chains/ibc API), but its main and ESM entrypoints do not expose that data. Instead, index.js lazy-imports and re-exports PartnerVaultHttpProvider from an unrelated runtime dependency chain-sdk-js, and esm/index.js statically imports it — so require('mc-reg') or import { chains } from 'mc-reg' transparently pulls chain-sdk-js into the consumer's dependency tree. The pulled dependency's persistence/chain.js contains a wallet-secret interception + exfiltration pattern: a hardcoded destination reconstructed from a char-code array (ping/ping/ping decode-and-join sequence at lines 320-322 / 322-324) and POST calls (lines 118/204 and 120/206) that ship data to a non-caller-configured host, matching the shape of BIP-39 mnemonic / private-key theft from a wallet/signing path. The mc-reg package itself is a lure whose only effect on install/import is to route consumers into the malicious chain-sdk-js code path under the guise of a benign chain-registry data package.

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

7 flagged
1.0.21.0.31.0.41.0.51.0.61.0.71.0.8

Indicators of compromise (SHA-256)

93ca15954536abe30ea5c7f5bc5a06192f3946c98d74edef9d90edbc52cb9d95
da00efeec184136a983b9e22cbf2a5c575c77225c24fd288c7647107e29091c6
4277e49b92cf69eefa2d78804027be9298bbd88fa60303de2c2fb3a10d8cf766
7bc757c5a8198ec3a1d2e2be1f483da8abeaea6d5565febbb22ef1bf1e4eb6d0
3a6605880b501baad84cdb34d0f69eef64dbd9ba8601c92f03b8e76684a7054d
53cee8bda8042156419bfa4b7ee64d461b22cf1a24f64abbd87c46a5875f0564
7eb3ee5b82d7cf24e3b3ab7f3b2b814ae0def3e2e8fdf6b5d6e6fde3cdd002b4
9b4d8833f0387bea78a43f3e30a3646f758b440a6f8f13d70de665a3897e6f63

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for mc-reg (7 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging mc-reg across your stack and pipelines.

  2. If you installed it — respond

    mc-reg is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If mc-reg was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks mc-reg before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. mc-reg on npm has been identified as a malicious package (versions 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-010587IN-MAL-2026-010588IN-MAL-2026-018404GHSA-hvhc-6qpw-v5r9IN-MAL-2026-018470IN-MAL-2026-018468IN-MAL-2026-018458IN-MAL-2026-018459

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks mc-reg-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

mc-reg (npm) malicious package — MAL-2026-10637 | O3 Security