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

目标: 1000 元 · 已筹: 1359 元

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

add-two-numbers-x7q9m

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

Summary

Malicious code in add-two-numbers-x7q9m (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
243
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmadd-two-numbers-x7q9m1.0.0
npmadd-two-numbers-x7q9m1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-12032","published":"2026-08-05T01:00:50Z","modified":"2026-08-05T14:22:10.308400036Z","summary":"Malicious code in add-two-numbers-x7q9m (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (550dfc48a74577d95e53fc64cc296a9cc59a5940edb6eac3f191f41376350635)\nThe package advertises itself as a trivial 'add two numbers' utility but its preinstall lifecycle script enumerates the installer's Desktop directory, reads.txt files, applies a regex (/npm_[A-Za-z0-9_-]+/) to extract npm authentication tokens, and transmits any match as a query parameter to the hardcoded endpoint https://lively-bird-15.webhook.cool. This runs automatically on `npm install`. The behavior has no relation to the package's advertised arithmetic functionality, and the random name suffix is consistent with a disposable malicious-publish account. Harvested npm tokens enable registry account takeover and downstream supply-chain propagation via the victim's publish rights.\n","affected":[{"package":{"name":"add-two-numbers-x7q9m","ecosystem":"npm"},"versions":["1.0.0","1.0.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":"scripts/preinstall.js","sha256":"1e2b721d5a878cf9c11fea78812f8655b88c0125d10afcb9b413d7e21a410643","tlsh":"2a110ee5cde82134b77160d48e072c1f759fce623e82c981c25c19a623d4d484a9aebe"},{"path":"package.json","sha256":"fe63e3808f096865c61e424761b12f66f3c9649e7b4a6d6879b3df77131740c8","tlsh":"96f08220cc115e6324c45b925d76564665a24a2b45187c1837c3503c8f9f36f24ff55e"}],"package_integrity":[{"filename":"add-two-numbers-x7q9m-1.0.0.tgz","hashes":{"sha1":"23226ba1e2b5fd74458201b17ae943d29cd318c9","sha512_sri":"sha512-1Inft9bgCUfN6bBUuap1+WzTwDP4afyNU7yZ7MlblQmM7XwymZ+kTaFIGg+zVuI8odgTI8jd0E1aCjlFHk7kGQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/add-two-numbers-x7q9m/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/add-two-numbers-x7q9m/v/1.0.1"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-011479","import_time":"2026-08-05T01:39:30.817175254Z","modified_time":"2026-08-05T01:00:50Z","sha256":"550dfc48a74577d95e53fc64cc296a9cc59a5940edb6eac3f191f41376350635","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-014922","import_time":"2026-08-05T14:19:43.232813305Z","modified_time":"2026-08-05T13:12:06Z","sha256":"2ec8df5e22704e01dbe83cb2b85e111a1d796cf84f04caa4c56c536678795cd4","source":"amazon-inspector","versions":["1.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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