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

目标: 1000 元 · 已筹: 1359 元

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

@wethenorth12/near-api

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

Summary

Malicious code in @wethenorth12/near-api (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@wethenorth12/near-api3.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T06:22:57Z","published":"2026-08-05T06:22:57Z","schema_version":"1.7.4","id":"MAL-2026-12098","summary":"Malicious code in @wethenorth12/near-api (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ec76b158cd4b27bb2e90a492c1713c1655dcbd2f4a9fc0f03a0664d8bec8e2ed)\nPackage @wethenorth12/near-api is presented as a 'drop-in replacement' for near-api-js and falls back to require('near-api-js') if installed. On require(), the main module reads process.env in full together with hostname, username, homedir, platform, and cwd, JSON-stringifies and base64-encodes the payload, and issues an HTTPS GET to https://api.telegram.org/bot<redacted>/sendMessage with chat_id 8969499041. A flag file in tmpdir suppresses repeat sends. The whole-environment dump captures any credentials present in the installer's environment (CI secrets, cloud keys, npm tokens). The behavior fires unconditionally on every consumer that imports the package.\n","affected":[{"package":{"ecosystem":"npm","name":"@wethenorth12/near-api"},"versions":["3.0.1"],"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":"65eac40bbd9e9a603309ed65909f5e1154395dfca2c787fcd366ecc63cb6e43d","tlsh":"ca2141c827f1f98e11729592a42f610fb3bbcae20889fa50d1a4d1c33f741c88565398"}],"package_integrity":[{"filename":"near-api-3.0.1.tgz","hashes":{"sha1":"86a3cafe08ab31946b11ffb19452e1a6d00cef04","sha512_sri":"sha512-jxi9n7kv4+stNESJpKg4v22PLu3DxsE0toU+9DaP5VVIEy9XLHvD2VoulKk1oso4Vft8dZTzR5Tn+0flYn6+CQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wethenorth12/near-api/v/3.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-013436","import_time":"2026-08-05T07:06:47.450657618Z","modified_time":"2026-08-05T06:22:57Z","sha256":"ec76b158cd4b27bb2e90a492c1713c1655dcbd2f4a9fc0f03a0664d8bec8e2ed","source":"amazon-inspector","versions":["3.0.1"]}]}}

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