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

目标: 1000 元 · 已筹: 1359 元

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

fastify-addone

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

Summary

Malicious code in fastify-addone (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmfastify-addone5.1.0
npmfastify-addone5.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-12T20:50:15Z","published":"2026-07-09T22:16:42Z","schema_version":"1.7.4","id":"MAL-2026-10098","summary":"Malicious code in fastify-addone (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (21b9e477cff478ab071039c18c3adb6577a07cc1d82687b9e7d7cd2594dc9ddf)\nThe package presents itself as fastify-plugin (name fastify-addone, repository/homepage/bugs fields point at fastify/fastify-plugin) and copies that project's source with a malicious statement inserted. lib/getPluginName.js contains a top-level statement that base64-decodes a URL via atob, fetches the JSON at https://www.jsonkeeper.com/b/HDXPP, and passes the returned content field to eval. This executes attacker-controlled JavaScript in the caller's process on any require('fastify-addone') (directly or via plugin.js). The destination is an anonymous, mutable third-party JSON-hosting service — not the publisher's infrastructure — and the payload URL is hidden behind base64 to evade casual review.\n","affected":[{"package":{"ecosystem":"npm","name":"fastify-addone"},"versions":["5.1.0","5.1.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/getPluginName.js","sha256":"86962d00e33c7d47bba169fea7e2c18f304a1232db8a36ea7e9929f7e241a5f6","tlsh":"2701eba86edbbc11032f3084e1ce5088baeebd802829e540e3bc4b211f83d7598b000e"},{"path":"package.json","sha256":"6e38a5f45193fa6d45bf7f98462a84e402186d4fd3a34cfa88d716ff4fd6d428","tlsh":"eb319aa5c8681cb30fd81dd164ed4182b61645974c94fc9ab3df022c9f4da3b22f978d"}],"package_integrity":[{"filename":"fastify-addone-5.1.0.tgz","hashes":{"sha1":"cbce8b1e4c8c5f91c9a7b86a378a48b1b748907f","sha512_sri":"sha512-DoJCErrdswoCTvFo2qbmcLQ+ZEymcM4p5XcNfVnVZ5xY4D301jAKhtHBm6l4IVKyQSkD0yV0AqAJTzOljFZLGw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/fastify-addone/v/5.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/fastify-addone/v/5.1.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"21b9e477cff478ab071039c18c3adb6577a07cc1d82687b9e7d7cd2594dc9ddf","import_time":"2026-07-09T22:56:36.59463216Z","id":"IN-MAL-2026-009582","modified_time":"2026-07-09T22:16:42Z","versions":["5.1.0"]},{"source":"amazon-inspector","sha256":"d2f2c8dc9b9c037bb1da062c060c8e622e400cf24e7d593c1232d4003b867d84","import_time":"2026-07-12T20:48:33.873446317Z","id":"IN-MAL-2026-009762","modified_time":"2026-07-12T20:48:01Z","versions":["5.1.1"]}]}}

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