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

目标: 1000 元 · 已筹: 1336

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

neverthrow-js

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

Summary

Malicious code in neverthrow-js (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
110
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmneverthrow-js2.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-10T12:32:39Z","published":"2026-08-10T12:32:39Z","schema_version":"1.7.4","id":"MAL-2026-13706","summary":"Malicious code in neverthrow-js (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2b58633ada4ac777e5a404d3fa38bc1e664cb4696ccffcfd010a9552b1605cbd)\nPackage neverthrow-js@2.0.0 is a typosquat of the legitimate neverthrow library. package.json declares postinstall: node./dist/install.js, which runs automatically on npm install. The install script reconstructs the destination host and path from decoy arrays that mimic WordPress plugin metadata (filtered fragments yielding ecoferros.com and the path /wp-content/plugins/elementor/admin/dev-tools/index.php?req=verify) so the literal C2 URL never appears in source. It fetches a response, base64-decodes the body, and executes it via new Function(\"rq\", parsed); nfu(require)(), passing require into the evaluated code so the remote payload has full Node capability on the installer's host. Execution is gated by a Date check for 2026-08-11 02:00:00 GMT. index.cjs.js reproduces the real neverthrow library to provide cover for the malicious install hook.\n","affected":[{"package":{"ecosystem":"npm","name":"neverthrow-js"},"versions":["2.0.0"],"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":"dist/install.js","sha256":"7a6c6da6ab8f39e08445dba37cd5e5435b39468a3e192c38771e9d824ff195fd","tlsh":"9f51e0945136640787f1fbb4eb130859faeb56632200c298b9dc45802f7b97893b7dde"}],"package_integrity":[{"filename":"neverthrow-js-2.0.0.tgz","hashes":{"sha1":"16372f4b75561c88775d5fd8612daa1ecb10fa08","sha512_sri":"sha512-Wn+VcdCQ5XXhNodBXzcDDMODdOeKacobmJ67qbupBP3QHjR/ifX5zDnS7nxj4UxLFyTQ8P61NTs6+P+/3XiUhg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/neverthrow-js/v/2.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017272","import_time":"2026-08-10T12:51:45.354323959Z","modified_time":"2026-08-10T12:32:39Z","sha256":"2b58633ada4ac777e5a404d3fa38bc1e664cb4696ccffcfd010a9552b1605cbd","source":"amazon-inspector","versions":["2.0.0"]}]}}

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