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

目标: 1000 元 · 已筹: 1359 元

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

@hrmony/pladddform-codegen

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

Summary

Malicious code in @hrmony/pladddform-codegen (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
279
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@hrmony/pladddform-codegen*
npm@hrmony/pladddform-codegen49.99.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17273","published":"2026-09-29T16:31:55Z","modified":"2026-09-29T17:26:48.923796487Z","aliases":["GHSA-4jh6-g3hw-7qjc"],"summary":"Malicious code in @hrmony/pladddform-codegen (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (58f0706d7223f8a1ff87ac80c6e1e42af148214545e55acc865cce12fee7eec4)\nOn module load, index.js unconditionally beacons to the hardcoded non-first-party endpoint https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_pladddform-codegen and then performs three credential-harvest flows against the installer: (1) queries the AWS instance metadata service at 169.254.169.254 (IMDSv2), enumerates IAM role names, retrieves each role's security credentials, and collects the EC2 identity document, user-data, and network-interface metadata; (2) enumerates all process.env entries; (3) recursively reads /var/run/secrets/ (Kubernetes projected service-account tokens and mounted secrets). The collected data is POSTed to the same hardcoded attacker host. The package name is a typosquat of an @hrmony scoped package with an inflated version (49.99.0) consistent with a dependency-confusion attempt, and it declares an internal-looking sibling dependency @hrmony/kit-5. The exfiltration URL path embeds the package name, indicating a campaign-style beacon per lure.\n\n## Source: ghsa-malware (7506445769ecafceaa9997f0a2e50c59f9573d93d70ac74c88e105477033f05a)\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/pladddform-codegen","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["49.99.0"],"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":"7c9dea2746e94da25fc2d9ef6b60b6aec3c637e441ede38874ffe630f14d90e6","tlsh":"f1b1768542fb0421159f75ab8bbba1079036d1473948addc3f9c63842f4e4edea61bcd"},{"path":"package.json","sha256":"2b5560af82c16c95e068de362cb0a10f46cfab1fd060f57291cb98c3a81d778d","tlsh":"e7e0d8108530953349c561a20c5d8457a7624f5b944c3c0833db501c865e9b354fd7aa"}],"package_integrity":[{"filename":"pladddform-codegen-49.99.0.tgz","hashes":{"sha1":"f7ec1111833db10f401a12b5a61ce02b09f7d7d0","sha512_sri":"sha512-IeAfcJ32o6Aezau64P7jT3FK6u44X19ZQzBHfUuMP64R3HOCG72dYPHT3vTZbPuyZPJgF3WSpbqAi21ipvTupQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@hrmony/pladddform-codegen/v/49.99.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4jh6-g3hw-7qjc"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020650","import_time":"2026-09-29T16:45:37.599162269Z","modified_time":"2026-09-29T16:31:55Z","sha256":"58f0706d7223f8a1ff87ac80c6e1e42af148214545e55acc865cce12fee7eec4","source":"amazon-inspector","versions":["49.99.0"]},{"id":"GHSA-4jh6-g3hw-7qjc","import_time":"2026-09-29T17:25:03.727141533Z","modified_time":"2026-09-29T17:22:04Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"7506445769ecafceaa9997f0a2e50c59f9573d93d70ac74c88e105477033f05a","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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