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

目标: 1000 元 · 已筹: 1359 元

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

@prime0/pcomatch

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

Summary

Malicious code in @prime0/pcomatch (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0archived——VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@prime0/pcomatch1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-09-16T06:27:31Z","published":"2026-09-16T06:27:31Z","schema_version":"1.7.4","id":"MAL-2026-16206","summary":"Malicious code in @prime0/pcomatch (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (08299e41eb4feb9e324854bf5cd3386e6e52696b4b11443254374897a1ad3816)\nindex.js and the postinstall lifecycle script contact a hardcoded bare-IP endpoint at http://69.48.229.140:8080 over plain HTTP. On `npm install`, the postinstall hook collects host identifiers (hostname, username, platform, arch, cwd, node version, pid, all non-internal IP addresses, uptime, package name) and POSTs them as JSON to /b. On `require()` of the package main, the module beacons the same host, then polls /c every 30 seconds for JSON commands and executes the `c` field via child_process.exec, POSTing stdout/stderr back to /r. A source comment self-identifies the module as a stealth typosquat agent, while package.json advertises only a generic \"small utility\" description.\n","affected":[{"package":{"ecosystem":"npm","name":"@prime0/pcomatch"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"f96920db8aa0d72723e7eab7dc5319f4395a201f8eba307b4f81974730c1d75c","tlsh":"571165e00191a6293222a1f1ca5f150917e9e4101201fe98f83cd285bff4e7c07f69ec"},{"path":"index.js","sha256":"a7fc4e3167420ca41e89f929a9721a63761e20c83b555338d91580d46e3dd3f1","tlsh":"ff4142eb91952124a17371f4ca5f64082bbad16202439e98bc2ce385af7493c072adfc"}],"package_integrity":[{"filename":"pcomatch-1.0.0.tgz","hashes":{"sha1":"1169c8d460a4cd79a384a0fdfe155ef5fc2f346e","sha512_sri":"sha512-p7NofNwT8UfpWnHQCH3C2appuPLy2YUEjcIy3Z4tNEJFXW438C+Gcf6h6Oigi7nfqm00a2Hv0Db55NNMkxaJGA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@prime0/pcomatch/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020073","import_time":"2026-09-16T06:31:14.494431104Z","modified_time":"2026-09-16T06:27:31Z","sha256":"08299e41eb4feb9e324854bf5cd3386e6e52696b4b11443254374897a1ad3816","source":"amazon-inspector","versions":["1.0.0"]}]}}

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