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

目标: 1000 元 · 已筹: 1359 元

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

@hrmony/app-gateway-templates

MAL-2026-17251
2026-09-29 17:26:49
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in @hrmony/app-gateway-templates (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
284
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@hrmony/app-gateway-templates*
npm@hrmony/app-gateway-templates0.0.51
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17251","published":"2026-09-29T16:33:58Z","modified":"2026-09-29T17:26:48.900928111Z","aliases":["GHSA-52pw-jwv9-q65v"],"summary":"Malicious code in @hrmony/app-gateway-templates (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c7d3f05113dd7daa9fac2da8187afecc751fafcf96449e7f4eb4a5d9a4878844)\nOn require/import of @hrmony/app-gateway-templates, index.js (the package main) executes an exfiltration routine against a hardcoded attacker endpoint at https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_app-gateway-templates. The routine performs an AWS IMDSv2 token PUT against 169.254.169.254, then uses that token to read instance identity, IAM role security-credentials (temporary AWS access key, secret key, and session token), and network metadata. It also enumerates process.env in full and recursively reads /var/run/secrets/, which on Kubernetes pods contains mounted service-account tokens and application secrets. All collected data is POSTed to the same attacker endpoint. The package name is a one-character drop from `harmony` and declares a runtime dependency on `@hrmony/kit-5` in the same typosquat scope, so installing this package also pulls additional attacker-controlled code under the same scope.\n\n## Source: ghsa-malware (492e67d0f61f5bb0ccbc153fd4ea19331d3122010eed723829aeeaeb5ebd262e)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"@hrmony/app-gateway-templates","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.51"],"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":"index.js","sha256":"c1302142a2fd2a7213802ff505c8639df3038dd1a2d283430f080d18add68ad2","tlsh":"36b1768542fb0411159f75ab8bbba1079036d1473948addc3f9c63842f4e4edea61bcd"},{"path":"package.json","sha256":"c480df2559f2ebb58fa5c138d92104ef8d311aa683e0973b377ef4a810ef318e","tlsh":"90e068108130843345d561a24c5e8453b7628e57481c3c0c33ef201c824dab704fe359"}],"package_integrity":[{"filename":"app-gateway-templates-0.0.51.tgz","hashes":{"sha1":"807a7ab068ba903017fe0289bb96c93cfece0c32","sha512_sri":"sha512-kFUcVy+2nl0bf+cjEN/O+XQY++LlJCc5nj1qA/bKB8ZSmIf1Nb/RvyRpIukGYHuYKAeHskh3IpZZcdZ9nvav1A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@hrmony/app-gateway-templates/v/0.0.51"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-52pw-jwv9-q65v"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020662","import_time":"2026-09-29T16:45:38.545224048Z","modified_time":"2026-09-29T16:33:58Z","sha256":"c7d3f05113dd7daa9fac2da8187afecc751fafcf96449e7f4eb4a5d9a4878844","source":"amazon-inspector","versions":["0.0.51"]},{"id":"GHSA-52pw-jwv9-q65v","import_time":"2026-09-29T17:25:03.727995654Z","modified_time":"2026-09-29T17:22:02Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"492e67d0f61f5bb0ccbc153fd4ea19331d3122010eed723829aeeaeb5ebd262e","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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