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

目标: 1000 元 · 已筹: 1359 元

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

hunsterx-package

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

Summary

Malicious code in hunsterx-package (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmhunsterx-package*
npmhunsterx-package7.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-29T05:54:49Z","published":"2026-06-23T19:33:15Z","schema_version":"1.7.4","id":"MAL-2026-6337","aliases":["GHSA-29mh-6rgm-mmfw"],"summary":"Malicious code in hunsterx-package (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (32f2430d6e0da9484283d0012a16df0c593ccb5fa2a56ea727bd19ba435f964f)\npreinstall.js executes a chain of eval(Buffer.from('<base64>','base64').toString()) payloads at npm install time. The decoded payloads collect host identity (os.hostname, os.userInfo, cwd, network interfaces), the full process.env (chunked over DNS if larger than 5KB), the contents of./.npmrc and ~/.npmrc, AWS EC2 instance-identity metadata fetched from IMDSv2 at 169.254.169.254 (account ID, region), and recursive reads of *.env / *.config / *.yaml / *.toml files in the working directory. All collected data is transmitted via https.get and dns.resolve to d8rqs6ri6i9md1fcfdpgirhdcr17idqdh.oast.fun (a project-discovery Interactsh out-of-band collaborator). postinstall.js additionally performs a DNS callback `postinstall-<rand>.d8rqs6ri6i9md1fcfdpgirhdcr17idqdh.oast.fun` to confirm both lifecycle phases ran. The base64+eval wrapping has no functional purpose other than evading static review. Installer impact: any developer or CI runner that performs `npm install` on this package leaks npm publish tokens (from.npmrc), full environment variables (commonly containing API keys, cloud credentials, and CI secrets), and AWS account/region identifiers to the attacker.\n\n## Source: ghsa-malware (c8f48c7b9e7f50f5028712e3ad499291e39eebc6904e7c0b828d6d8ea59a5b72)\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":{"ecosystem":"npm","name":"hunsterx-package"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["7.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":"preinstall.js","sha256":"39ae25d13298908a1878be76d11f578e23bed4a13b5934b8d2affb05b4b82b29","tlsh":"1591d8b8bae539cf753555e51086799f823bb24131d3f0bac18a124f154cbd2f19137a"},{"path":"postinstall.js","sha256":"54a8579e29bebd9f7c201dc46f98f052d23fb9b5151d2b05a44e38d7c7d0a88d","tlsh":"31c0220c33c02ae809640bd4b082088e00028fa1a0a540e010aa1820108bb7478a3811"}],"package_integrity":[{"filename":"hunsterx-package-7.0.1.tgz","hashes":{"sha1":"6ec6fc1366927885131ef9aeb82762fddd706819","sha512_sri":"sha512-DuFgqQ8aDCaAVIVaBg/fuprOmWaurBn7GwBE6g7uXoYWcWORwXj30GfA6KFt22yozIzNzxSgwGWO/v5ZsQO8tQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/hunsterx-package/v/7.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-29mh-6rgm-mmfw"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"32f2430d6e0da9484283d0012a16df0c593ccb5fa2a56ea727bd19ba435f964f","import_time":"2026-06-23T19:40:41.43739557Z","id":"IN-MAL-2026-007339","modified_time":"2026-06-23T19:33:15Z","versions":["7.0.1"]},{"source":"ghsa-malware","sha256":"c8f48c7b9e7f50f5028712e3ad499291e39eebc6904e7c0b828d6d8ea59a5b72","import_time":"2026-06-29T05:52:49.568024196Z","id":"GHSA-29mh-6rgm-mmfw","modified_time":"2026-06-29T03:33:44Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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