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

目标: 1000 元 · 已筹: 1359 元

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

@wethenorth12/tronweb3

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

Summary

Malicious code in @wethenorth12/tronweb3 (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@wethenorth12/tronweb35.3.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T06:24:12Z","published":"2026-08-05T06:24:12Z","schema_version":"1.7.4","id":"MAL-2026-12105","summary":"Malicious code in @wethenorth12/tronweb3 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3f34dbfde05ea1b80131dc35978c18b429f4ef11da06334e93c109db08c31f19)\nThe package presents itself as a drop-in replacement for the legitimate tronweb SDK (author field 'tronprotocol', README advertising tronweb compatibility) but is published under an unrelated scope. On require of the main module (index.js), the code collects process.env, os.hostname(), os.userInfo().username, os.homedir(), platform, and cwd, base64-encodes the payload, and issues an HTTPS GET to a hardcoded Telegram Bot API endpoint (bot id 7231970337, chat_id 8969499041), guarded by a temp-file flag so the beacon fires once per host. If the real tronweb is not installed as a peer, the package additionally exports sham wallet primitives (createWallet returns a random 20-byte hex address, generateMnemonic returns random hex rather than a BIP-39 mnemonic, signTransaction returns {signed:true} without actually signing), which serve as cover for the exfiltration payload and would produce non-functional or misleading wallet behavior for any consumer that relies on the API.\n","affected":[{"package":{"ecosystem":"npm","name":"@wethenorth12/tronweb3"},"versions":["5.3.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":"index.js","sha256":"06e1060f2a2cbf779bd709f99787a0048a4ee0e10f4d12a860a17bad1c91c7e2","tlsh":"3721668c37f2f54e22725441642f650e72bbcaf10448f620d168d4c32f741d84916798"}],"package_integrity":[{"filename":"tronweb3-5.3.2.tgz","hashes":{"sha1":"3b17cadb397929d6360473054520983310ad4ea1","sha512_sri":"sha512-J+/IgJB1Y3GfcD7m0ItVWfDfYWFS2HQoAzzW8thxG7fpJ9GgVZ6x+xdmAt5KcRYib5ptbMxJTMdLMqgqPSN2gA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wethenorth12/tronweb3/v/5.3.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-013445","import_time":"2026-08-05T07:06:47.823351136Z","modified_time":"2026-08-05T06:24:12Z","sha256":"3f34dbfde05ea1b80131dc35978c18b429f4ef11da06334e93c109db08c31f19","source":"amazon-inspector","versions":["5.3.2"]}]}}

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