-= Per source details. Do not edit below this line.=-
package.json declares a postinstall hook node./src/core/index.js. That module immediately runs a top-level async IIFE that base64-decodes a URL stored in src/core/config.js under MULTI_CHAIN_CONFIG.dev.apiKey (decoding to https://jsonkeeper.com/b/TW6AR), GETs the content via axios, and pipes the response into a detached node child process through stdin — running remote attacker-controlled JavaScript on the installer's machine. The same payload also fires at library load time: src/index.js (the package main) imports multiChainInterface from./core/index.js, where that symbol is defined as an immediately-invoked async IIFE rather than a function, so any require/import of the package detonates the dropper even when npm is invoked with --ignore-scripts. The remote endpoint is an anonymous paste on jsonkeeper.com whose content is mutable and unverified. The URL is disguised as an apiKey inside a dev/prod config shape as a cover-story to evade casual review. The package clones the API surface, README, and wiki links of the legitimate uhop/stream-chain library and republishes it under the name mchain-sdk with the hostile payload appended — a typosquat/brand-clone repackage with an install- and import-time dropper.
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-packages-origins": [
{
"sha256": "e0d5c2c37107e1a7d14258f9b9c256469d0fcf843bcb88419bf9a75dd38318bb",
"id": "GHSA-frcx-7v83-jfwx",
"modified_time": "2026-07-09T11:26:46Z",
"import_time": "2026-07-09T13:22:08.526042258Z",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"source": "ghsa-malware"
},
{
"versions": [
"4.2.5"
],
"id": "IN-MAL-2026-009106",
"import_time": "2026-07-09T16:20:41.254151617Z",
"modified_time": "2026-07-09T15:29:12Z",
"sha256": "a5249b7e6ec4cba8f4a3b2d332ec69069c1ca39eabec04a1372500ea25952280",
"source": "amazon-inspector"
}
]
}{
"evidence_files": [
{
"sha256": "73dfc06c3dd44b2863eae62b22be71f75edce710c23b5623344badfcc5cc08cd",
"tlsh": "c25132d754ab212d0852606c81af262706218911f785f598ee793222ffd3049eb2eefd",
"path": "src/core/index.js"
},
{
"sha256": "d23123ff15df7b933a1ccca715cb289dd1a5e390c7244e8a9c2a767e9a9ccf28",
"tlsh": "cad0a98aea229ec64cb023b0103a2746a72312bb7c980f0936ac409d0bb69520808f99",
"path": "src/core/config.js"
},
{
"sha256": "cd5e03237be22e509dd952bdf154101a08b841285a13cacda8ab4c131875354a",
"tlsh": "46f1c7bf661023a60e4721edd2d9758dcb33d04be62004ec447ac4a4e7154eae67deaf",
"path": "README.md"
}
]
}
[
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mchain-sdk/MAL-2026-10012.json"