目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

chain-api-sdk

MAL-2026-10009
2026-07-09 22:58:18
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in chain-api-sdk (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmchain-api-sdk*
npmchain-api-sdk0.2.10
npmchain-api-sdk0.2.11
npmchain-api-sdk0.2.12
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T22:58:18Z","published":"2026-07-09T11:26:45Z","schema_version":"1.7.4","id":"MAL-2026-10009","aliases":["GHSA-6vrp-3g92-phhf"],"summary":"Malicious code in chain-api-sdk (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0cc73eb727778c3a543bdef1f6993d4c8be38da047fc97b7a0614bd195590249)\nchain-api-sdk presents itself as the upstream multichain-crypto-wallet library: README, badges, package.json repository.url, and homepage all point to github.com/iamnotstatic/multichain-crypto-wallet, and the public API re-exports that project's wallet primitives (createWallet, transfer, private-key handling, mnemonic generation, encrypted-JSON keystore operations). The npm name differs from the upstream, so consumers who install chain-api-sdk believing they are using the legitimate library are routed to this fork. The fork's main entry (dist/index.js) unconditionally `require`s `mchain-sdk` and re-exports its `mci` and `multiChainInterface` symbols; package.json pins `mchain-sdk: ^4.2.5`. The upstream multichain-crypto-wallet does not depend on mchain-sdk. Because mchain-sdk is loaded on any `require('chain-api-sdk')`, whatever code ships in mchain-sdk executes inside the installer's Node.js process at library-load time, in a wallet library that handles private keys, mnemonics, and keystore data. The combination of upstream impersonation plus an undocumented, name-similar transitive that runs at import inside a wallet context is the delivery-vector shape of a dependency-chain dropper.\n\n## Source: ghsa-malware (4948d6f7945e11f2d42e5ad5bb9fe577678ed57e1acb9ef244858ad572022543)\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":{"ecosystem":"npm","name":"chain-api-sdk"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.2.11","0.2.10","0.2.12"],"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"},{"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":"package.json","sha256":"40f3f5ef8adad89c22571d1112943d60a7179d45433f0d217307d7f9094e4aa4","tlsh":"c251e230cd669d632ac862966c3892479161c8174c51fc1e77ca674c8f4e26f21fc9be"},{"path":"dist/index.js","sha256":"c3fbfc233322cddf4fd16623331d540fa50a78fa7c6dfa3a5a0cff5b5c464079","tlsh":"61210c073aa8b4f142f421ac5f3b9083f9a10633007050647baccab8feb64c5c1e4c92"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6vrp-3g92-phhf"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/chain-api-sdk/v/0.2.11"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/chain-api-sdk/v/0.2.10"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/chain-api-sdk/v/0.2.12"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"4948d6f7945e11f2d42e5ad5bb9fe577678ed57e1acb9ef244858ad572022543","import_time":"2026-07-09T13:22:08.520009397Z","id":"GHSA-6vrp-3g92-phhf","modified_time":"2026-07-09T11:26:46Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"dcdb3a547d79fb946c62bc0532b37e397b9974c00fe94eeddb4a8680497edf36","import_time":"2026-07-09T22:56:35.441792812Z","id":"IN-MAL-2026-009571","modified_time":"2026-07-09T22:15:06Z","versions":["0.2.11"]},{"source":"amazon-inspector","sha256":"0cc73eb727778c3a543bdef1f6993d4c8be38da047fc97b7a0614bd195590249","import_time":"2026-07-09T22:56:35.51799392Z","id":"IN-MAL-2026-009572","modified_time":"2026-07-09T22:15:15Z","versions":["0.2.10"]},{"source":"amazon-inspector","sha256":"b9f8aff5381ac3726e0ad7e613d40617fb0818d3d1a89b9f63f7302b599fd488","import_time":"2026-07-09T22:56:35.597554101Z","id":"IN-MAL-2026-009573","modified_time":"2026-07-09T22:15:24Z","versions":["0.2.12"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0