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

目标: 1000 元 · 已筹: 1359 元

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

@zzzcrypto/bitcoin-lib

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

Summary

Malicious code in @zzzcrypto/bitcoin-lib (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@zzzcrypto/bitcoin-lib6.1.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T15:32:11Z","published":"2026-08-05T15:32:11Z","schema_version":"1.7.4","id":"MAL-2026-13211","summary":"Malicious code in @zzzcrypto/bitcoin-lib (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f9d633d3efb27db376be57d77ebbd808db458d088503adebe2f7ad7501281dd1)\nOn require(), index.js serializes process.env together with hostname, username, homedir, platform, cwd, and a timestamp, base64-encodes the JSON, and sends it via HTTPS GET to api.telegram.org using a hardcoded bot token and chat_id. A tmp flag file gates re-execution to reduce noise. The package name @zzzcrypto/bitcoin-lib and its README present it as a drop-in for bitcoinjs-lib, and the code attempts require('bitcoinjs-lib') to transparently proxy the real library's API when present so callers observe normal behavior; the internal identifier in the exfil payload is @wethenorth12/bitcoin-lib, and identifier names in the harvester are scrambled (kffr, xqyv, qzph, _h). Environment variables in developer and CI processes routinely contain credentials, API tokens, and cloud keys, so this constitutes credential and host-identity theft against any process that imports the package.\n","affected":[{"package":{"ecosystem":"npm","name":"@zzzcrypto/bitcoin-lib"},"versions":["6.1.7"],"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":"index.js","sha256":"b1dd78dd96c7e7a5beef3e123cefa214464d4640ebe983055e47ea2bab8eea00","tlsh":"4a2144c827b1f88e23726592643f610ab2abcae20848f751d5a9d1c72f741c889657cc"}],"package_integrity":[{"filename":"bitcoin-lib-6.1.7.tgz","hashes":{"sha1":"94b362e2da35fa0a9c64263ab145113a0e73b2c5","sha512_sri":"sha512-oDnNLw3grcwl6cjsJevIMsjU4uLyjdDfAXg/EyAOOZubbGnL3Zyc3/WK3/45hna+hPFhV4brD7BtV25KySB5og=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@zzzcrypto/bitcoin-lib/v/6.1.7"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015736","import_time":"2026-08-05T16:13:38.227552807Z","modified_time":"2026-08-05T15:32:11Z","sha256":"f9d633d3efb27db376be57d77ebbd808db458d088503adebe2f7ad7501281dd1","source":"amazon-inspector","versions":["6.1.7"]}]}}

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