MAL-2026-14305Malicious code in mc-provider (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.0.10 | archived | — | — | VIP 下载 |
| Ecosystem | Package | Version |
|---|---|---|
| npm | mc-provider | * |
| npm | mc-provider | 1.0.10 |
{"schema_version":"1.7.4","id":"MAL-2026-14305","published":"2026-08-19T19:11:52Z","modified":"2026-08-25T11:26:33.556867613Z","aliases":["GHSA-8r2v-hr8v-g7hw"],"summary":"Malicious code in mc-provider (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e494af2871662b1b342a26141de010623484dfef353b505805f4b41d85d775c1)\nPackage metadata describes `mc-provider` as 'Theta chain registry ⚛️' and the README is a verbatim copy of the hyperweb-io/chain-registry README instructing consumers to `import { assets, chains, ibc } from 'mc-provider'`. The actual main entry does not export any of those symbols. Instead, `index.js` dynamically loads an unrelated runtime dependency named `supersig` (`providerPromise = import('supersig').then((mod) => mod.HttpProvider)`) and re-exports `supersig`'s `HttpProvider` under this package's name; `esm/index.mjs` does the same via `import { HttpProvider } from 'supersig'; export { HttpProvider };`. Bundled chains/assets/IBC JSON files are present as decoys but are not reachable through the package's exports. Consumers following the README end up with a `supersig`-backed HTTP/RPC provider handling their Cosmos JSON-RPC and signing traffic — code they never chose to install, sourced from a package whose contents are outside this record. The impersonation of a well-known Cosmos registry package combined with silent resolution to an unrelated third-party provider is the standard shape used to insert attacker-controlled RPC/signing code into a wallet or dApp dependency tree.\n\n## Source: ghsa-malware (ac62fe6861e22d38e3535f3b52aca2397c8f82eb5fd778d6a863a6cfc92ef8b9)\nAny 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.\n","affected":[{"package":{"name":"mc-provider","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.10"],"database_specific":{"cwes":[{"cweId":"CWE-506","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.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"7eb79346553140e6193fa63f46ef9e4ac24508067ba7c3acd59f3556cb5d902a","tlsh":"2631f8ba79e3609143127fbc7e8e5c47e69c145320188e64791e9770dfc3c248ea46ca"},{"path":"package.json","sha256":"711160dbb5b8941d5ac1964eaa39d678ff26663eb6824245e57ebbf3da4946f8","tlsh":"cc219061caa08c2306c92ca8bc994582f5722c5b8548bc4d33d7916ccf8e4bb50fe6ad"}],"package_integrity":[{"filename":"mc-provider-1.0.10.tgz","hashes":{"sha1":"762e7cab8edb91886fd7f1e6bfc8d7c04d0b06e4","sha512_sri":"sha512-pPgSPmirYO/ev7PA/zej9ReYgMmDaR47+Qt7xPCOCfjWxFEhLB6u7T0cWn0OSNY1oeVyCzBAuZi0IDzP+yTqig=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/mc-provider/v/1.0.10"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8r2v-hr8v-g7hw"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018427","import_time":"2026-08-19T19:12:49.598881581Z","modified_time":"2026-08-19T19:11:52Z","sha256":"e494af2871662b1b342a26141de010623484dfef353b505805f4b41d85d775c1","source":"amazon-inspector","versions":["1.0.10"]},{"id":"GHSA-8r2v-hr8v-g7hw","import_time":"2026-08-25T11:24:46.548693298Z","modified_time":"2026-08-25T11:15:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"ac62fe6861e22d38e3535f3b52aca2397c8f82eb5fd778d6a863a6cfc92ef8b9","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0