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

目标: 1000 元 · 已筹: 1359 元

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

@zzzgenesis00/bitcoinjs-wallet

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

Summary

Malicious code in @zzzgenesis00/bitcoinjs-wallet (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@zzzgenesis00/bitcoinjs-wallet5.4.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T08:43:07Z","published":"2026-08-05T08:43:07Z","schema_version":"1.7.4","id":"MAL-2026-12119","summary":"Malicious code in @zzzgenesis00/bitcoinjs-wallet (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bcabff22bb09847474002e52ef9e8101a847fe662fcf18eec0617fd6e9829e20)\nThis package is a typosquat of the bitcoinjs-wallet ecosystem. Its index.js is a thin passthrough while the malicious behavior is in postinstall.js, which runs automatically on npm install. The postinstall script enumerates ~/.ssh, ~/.npmrc, ~/.gitconfig, Chrome/Chromium/Firefox profile paths (Cookies, Login Data, key4.db, logins.json), and a curated list of cryptocurrency wallet directories (.bitcoin,.ethereum,.metamask,.exodus,.electrum, and others). It also reads credential-shaped environment variables including NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, AWS_SECRET_ACCESS_KEY, PRIVATE_KEY, MNEMONIC, SEED_PHRASE, and ETHEREUM_PRIVATE_KEY. It shells out to `npm whoami` and `git config --global user.email` via child_process.execSync to tag the harvested data with the developer's identity. The collected profile is transmitted via two channels: a GET to api.telegram.org using a hardcoded bot token (7231970337) and chat_id, and a POST to /collect on the serveo tunnel host 40f955f39128bd79-178-249-214-24.serveousercontent.com. Exfiltration is delayed via setTimeout with a randomized 1500-3500 ms window and wrapped in an 'environment verification' cover-story comment to blend with normal install activity.\n","affected":[{"package":{"ecosystem":"npm","name":"@zzzgenesis00/bitcoinjs-wallet"},"versions":["5.4.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"4e048cf97aad3db8f2d784e6714eaa1cda1f9929a97d656c490d64f08f245fc1","tlsh":"88d1559362ea071d6856aaae4b8f00145671e2033c24faf43ecd47624f4e56c9eb57f8"}],"package_integrity":[{"filename":"bitcoinjs-wallet-5.4.2.tgz","hashes":{"sha1":"9e51fc924559f5226dfe5d635e60b9cdabada59b","sha512_sri":"sha512-j518OOUmSfW3eWpoCFElqvgrP5Hhyo49zt+i/+xPCY79bpwWt4FsXPrOhlGGfr1L+pH+LUWO232VQg//T2Aqrg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zzzgenesis00/bitcoinjs-wallet/v/5.4.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014388","import_time":"2026-08-05T09:28:05.258920982Z","modified_time":"2026-08-05T08:43:07Z","sha256":"bcabff22bb09847474002e52ef9e8101a847fe662fcf18eec0617fd6e9829e20","source":"amazon-inspector","versions":["5.4.2"]}]}}

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