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

目标: 1000 元 · 已筹: 1359 元

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

base58-core

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

Summary

Malicious code in base58-core (npm)

凭据/密钥窃取远程访问后门文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
8
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmbase58-core*
npmbase58-core1.0.0
npmbase58-core1.0.1
npmbase58-core1.0.10
npmbase58-core1.0.11
npmbase58-core1.0.12
npmbase58-core1.0.2
npmbase58-core1.0.3
npmbase58-core1.0.4
npmbase58-core1.0.5
npmbase58-core1.0.6
npmbase58-core1.0.7
npmbase58-core1.0.8
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-07T15:17:32Z","published":"2026-06-25T06:43:58Z","schema_version":"1.7.4","id":"MAL-2026-6445","aliases":["GHSA-3439-q8cv-mg5v"],"summary":"Malicious code in base58-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (048a186e2e59bb0b7d9986c7099e527390e38690292bc49e237578a471c56680)\nThe package advertises itself as a Base58 encoder/decoder but on require() schedules a delayed payload that performs multiple installer-side attacks. After a 72-hour activation delay, code in dist/index.cjs and dist/index.js enumerates installer-owned secret stores — MetaMask extension storage across Chrome/Chromium/Brave/Edge profiles, Telegram Desktop tdata sessions, ~/.ssh keys, ~/.npmrc _authToken values, browser profile inventories, and env/.env crypto secret variables — and POSTs the collected report to a hardcoded bare-IP endpoint at http://2.27.62.51:8080/api/health (with:8081 as backup). A setInterval clipboard monitor invokes pbpaste/xclip/PowerShell via child_process every 2.5 seconds, matches BTC/ETH/SOL address regexes plus WIF private keys, BIP39 seed phrases (12–24 words), and 64-hex private keys, rewrites detected wallet addresses to attacker-controlled destinations (bc1qjft978uykglsh0adcyx6xhkes56vqzs3fual3l, 0xd63eD44065eDb1e2ad2519B011c06412dA7B7c5B, A7ajd7W5WYdrnkeaiBRjVoK6uBEDvgnuZcpzQXqo18Ph), writes them back to the clipboard, and exfiltrates matched values and the original clipboard slice to the same endpoint. A persistence routine appends a node -e loader to ~/.bashrc, ~/.zshrc, and ~/.profile that re-invokes the payload on every shell start; on Windows it drops base58-runtime.js into the user Startup folder, keeping the clipboard hijacker and exfil active across reboots and beyond project uninstall. The 72-hour dormancy timer is designed to evade sandbox and CI dynamic analysis. The package name and keywords (bitcoin/solana/wallet/ipfs) impersonate legitimate Base58 libraries to target crypto developers.\n\n## Source: ghsa-malware (e697e341b967e796e17cc132952e12802f5e4e6ce8be1453d0434bf6c308081f)\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":"base58-core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.0","1.0.2","1.0.3","1.0.5","1.0.4","1.0.7","1.0.8","1.0.6","1.0.10","1.0.11","1.0.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"},{"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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/index.cjs","sha256":"0883f67f12ef0c2b1da1e11a4d31a08fdaedc5c7de0db2fb98cb6f7e5efd3224","tlsh":"281251a82af754a0c223b0ad435f90127539f153390ddd68be0ce7841fa597857e37ae"},{"path":"dist/index.js","sha256":"0e9d1ba8dd0e5c06cdb94bb8eb52af519ed319df3d2faf54e063a653c6191f11","tlsh":"bb1241a82af754a0c223b0ad426f90127539f153394ddd6cbe0ce7845fa153857e3bae"}],"package_integrity":[{"filename":"base58-core-1.0.1.tgz","hashes":{"sha1":"b4dd05c96809c80d69d48fdab4a25b84078da84c","sha512_sri":"sha512-MI3HAkFL4EL2Xu7lTeZeTrVkkzUiwNVdkk6Z4xzybU39RFmo0BvZIAkB1J5Yx5qkX5mgYzOeNvJFwgrEJZMFcA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.10"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.11"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/base58-core/v/1.0.12"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3439-q8cv-mg5v"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"6e2594f5ee1ee71b3fb6a42fd834dee3598ce0993bd5718769dad01c916326d1","import_time":"2026-06-25T07:47:51.798999099Z","id":"IN-MAL-2026-007492","modified_time":"2026-06-25T06:43:58Z","versions":["1.0.1"]},{"source":"amazon-inspector","sha256":"c10874ae13f1937b6974bcaaec72996e54f85fc3de6bf5e53d732f6e1f37c8a3","import_time":"2026-06-25T07:47:51.841500941Z","id":"IN-MAL-2026-007493","modified_time":"2026-06-25T06:44:18Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"a01cd093c49b1f8e97a1a4b1f3711ee39c83235f9165cd8650cf18ff7bb56f7f","import_time":"2026-06-26T16:45:36.259224893Z","id":"IN-MAL-2026-007635","modified_time":"2026-06-26T15:52:19Z","versions":["1.0.2"]},{"source":"amazon-inspector","sha256":"1b1217d46a6b8bcdefc7ac0e928e40e5e74985b4ed430870e0ce1703f0caef69","import_time":"2026-06-26T20:38:47.496652831Z","id":"IN-MAL-2026-007660","modified_time":"2026-06-26T20:15:41Z","versions":["1.0.3"]},{"source":"amazon-inspector","sha256":"0081cc9c4152afede923a3e8ee9eb2116b32c02b7f355edbd411f23b2e67273c","import_time":"2026-06-29T05:07:05.124464493Z","id":"IN-MAL-2026-007709","modified_time":"2026-06-29T03:22:44Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.5"]},{"source":"amazon-inspector","sha256":"68c7a1f450b6c157edaef60638c547dfb284623a9a77e27a0abc9ebfaff87d83","import_time":"2026-06-29T05:07:05.009040945Z","id":"IN-MAL-2026-007708","modified_time":"2026-06-29T03:22:37Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.4"]},{"source":"amazon-inspector","sha256":"11db28718aa0b66d4fd60e20b771e15b5d6105966450c67723397b74bc59bd32","import_time":"2026-07-01T19:11:22.539799474Z","id":"IN-MAL-2026-007840","modified_time":"2026-07-01T18:34:12Z","versions":["1.0.7"]},{"source":"amazon-inspector","sha256":"547f3bde449b07eb12b34eefeb82df3c8994111951215f2870606b6a72d433b0","import_time":"2026-07-01T19:11:22.652678448Z","id":"IN-MAL-2026-007841","modified_time":"2026-07-01T18:34:20Z","versions":["1.0.8"]},{"source":"amazon-inspector","sha256":"fd61d8ee71e80b258f57bd2c02e48e132cd021a8fb4dbcf456e6a4ab63af73d0","import_time":"2026-07-01T19:11:22.015805925Z","id":"IN-MAL-2026-007837","modified_time":"2026-07-01T18:33:47Z","versions":["1.0.6"]},{"source":"amazon-inspector","sha256":"048a186e2e59bb0b7d9986c7099e527390e38690292bc49e237578a471c56680","import_time":"2026-07-06T04:58:10.290301539Z","id":"IN-MAL-2026-008017","modified_time":"2026-07-06T03:19:02Z","versions":["1.0.10"]},{"source":"amazon-inspector","sha256":"417a523add23d6946f26c4947dcd8db13d011ce847d03773c2da03945a6b4510","import_time":"2026-07-06T04:58:10.256278157Z","id":"IN-MAL-2026-008016","modified_time":"2026-07-06T03:18:49Z","versions":["1.0.11"]},{"source":"amazon-inspector","sha256":"df9bd7c3c83faab169afcb367f345db46d0eaeeeaa4e2ea010e0d8b01eb82973","import_time":"2026-07-06T04:58:10.209214643Z","id":"IN-MAL-2026-008015","modified_time":"2026-07-06T03:18:42Z","versions":["1.0.12"]},{"source":"ghsa-malware","sha256":"e697e341b967e796e17cc132952e12802f5e4e6ce8be1453d0434bf6c308081f","import_time":"2026-07-07T15:15:50.680353625Z","id":"GHSA-3439-q8cv-mg5v","modified_time":"2026-07-07T15:06:09Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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