MAL-2026-14294

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mc-registry/MAL-2026-14294.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14294
Published
2026-08-19T08:22:22Z
Modified
2026-08-19T09:00:19.338952332Z
Summary
Malicious code in mc-registry (npm)
Details

-= 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T08:48:53.554795424Z",
            "sha256": "1a249161c1ee8043be99d6317f1bcaf40a72cf1321ef67e05692caf8829de9f9",
            "modified_time": "2026-08-19T08:22:31Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018406",
            "versions": [
                "1.0.8"
            ]
        },
        {
            "import_time": "2026-08-19T08:48:53.487116752Z",
            "sha256": "50f3053643e65c63fa7d8e3d5c48ae3d659650bd0052137099cd8674232780bc",
            "modified_time": "2026-08-19T08:22:22Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018405",
            "versions": [
                "1.0.9"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / mc-registry

Package

Affected ranges

Affected versions

1.*
1.0.8
1.0.9

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mc-registry/MAL-2026-14294.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "0e0c6a0f9a3af293ced975f45c23172e492df0a72ef1f474c33de360dcc3df02",
            "tlsh": "bcd012f7080dd75492d15bca291e8992d3149762b951662876730674ebca80eb8309ab",
            "path": "esm/index.js"
        },
        {
            "sha256": "d50eb587c5a5e08406f25323fa3528616df365d4d9a045b9022de67bfb635a40",
            "path": "README.md",
            "tlsh": "8042a5e7de04529f0791d9ddb81670ecea32a12ee784849cba6d42b4d3445e7c23fb48"
        }
    ],
    "package_integrity": [
        {
            "filename": "mc-registry-1.0.8.tgz",
            "hashes": {
                "sha1": "7c2a4eceecc5f493fcc784f21b3aa9d05a08377c",
                "sha512_sri": "sha512-qCwxk0Wf87ECMCYUsxNrn2grlyDffimidUZtRil8XabcnVNl8J6lIYZx3wZxKT93358puysHvzeKOydl1agNmw=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]