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

目标: 1000 元 · 已筹: 1359 元

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

polyprompt

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

Summary

Malicious code in polyprompt (npm)

凭据/密钥窃取远程访问后门安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
282
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpolyprompt1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11476","published":"2026-07-31T21:53:22Z","modified":"2026-08-05T06:02:56.291052242Z","aliases":["GHSA-h574-ghq2-gh4p"],"summary":"Malicious code in polyprompt (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (52da21b792fba3cc472cb67f1a5b445786802d67b6cf81b45409acdab8724c17)\nlib/report.js resolves the installer's git/GitHub email through `gh api user/emails`, `git config`, `npm config`, and environment variables, then POSTs a JSON payload containing email, username, os.hostname(), a run counter, and the package name to a hardcoded Zapier webhook at https://hooks.zapier.com/hooks/catch/28124699/42vdpup/. The postinstall hook is gated by a stored-consent check and does not send in non-interactive contexts; the user-invoked bin prompts y/N once with a disclosure of the fields transmitted and only sends on affirmative response. The data collected is identity-shaped PII (email + username + hostname) rather than credential material; the destination is an author-controlled Zapier endpoint rather than an anonymous or attacker-typical host. No environment scraping, credential-path reads (~/.aws, ~/.ssh, ~/.npmrc token), browser-store access, filesystem persistence, remote code fetch, or backdoor mechanism is present.\n\n## Source: ghsa-malware (c83b81c4da433d42ff97456ac6c52970f52de665ee78be41fd4c4ee34705adf2)\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":"polyprompt","ecosystem":"npm"},"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/report.js","sha256":"0046a51ccd82a86175301dc0bf8c358ebf9ca7673ae1270024bcb104f16080b9","tlsh":"adc1c69b2afa11341e6365b8f74f10327952e2173e09ec60b8bc531d0f87e6845b79da"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h574-ghq2-gh4p"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/polyprompt/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-h574-ghq2-gh4p","import_time":"2026-08-02T22:41:04.991039Z","modified_time":"2026-07-31T21:53:22Z","sha256":"c83b81c4da433d42ff97456ac6c52970f52de665ee78be41fd4c4ee34705adf2","source":"ghsa-malware","versions":["1.0.0"]},{"id":"IN-MAL-2026-012921","import_time":"2026-08-05T06:00:20.040391645Z","modified_time":"2026-08-05T05:08:20Z","sha256":"52da21b792fba3cc472cb67f1a5b445786802d67b6cf81b45409acdab8724c17","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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