mc-registry
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-73h8-3qpw-h3wv
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in mc-registry (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (50f3053643e65c63fa7d8e3d5c48ae3d659650bd0052137099cd8674232780bc)
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.
Source: ghsa-malware (1a64395cf18ef215fa8debd38d127b7f163f4d347bc898101e13937d3df306bf)
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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0