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

目标: 1000 元 · 已筹: 1359 元

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

posthog-js

MAL-2025-191402
2025-12-01 04:28:31
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in posthog-js (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
10,107,719
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmposthog-js1.297.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2025-12-01T04:28:31Z","published":"2025-11-25T00:16:49Z","schema_version":"1.7.4","id":"MAL-2025-191402","summary":"Malicious code in posthog-js (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2b422f278bf27e062b349e97360b6919e773122f21656f23d6da583ce7cb1a92)\nThe package posthog-js was found to contain malicious code.\n\n## Source: google-open-source-security (1199070f9140b97dfe8c2ecdfe5a68de5c3df986e7d82041c96f07ebc557f365)\nThis package was compromised by the Sha1-Hulud: The Second Coming NPM worm.\nThe malicious payload steals tokens and credentials and publishes them to\nGitHub. The worm will propogate itself to NPM packages the user owns and\nestablish persistence is a GitHub action.\nThe package may also destroy the user's home directory.\n","affected":[{"package":{"ecosystem":"npm","name":"posthog-js"},"versions":["1.297.3"]}],"references":[{"type":"WEB","url":"https://www.aikido.dev/blog/shai-hulud-strikes-again-hitting-zapier-ensdomains"},{"type":"WEB","url":"https://www.wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack"},{"type":"WEB","url":"https://www.stepsecurity.io/blog/sha1-hulud-the-second-coming-zapier-ens-domains-and-other-prominent-npm-packages-compromised"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"google-open-source-security","sha256":"1199070f9140b97dfe8c2ecdfe5a68de5c3df986e7d82041c96f07ebc557f365","import_time":"2025-11-25T00:17:33.204677Z","modified_time":"2025-11-25T00:16:49Z","versions":["1.297.3"]},{"source":"amazon-inspector","sha256":"2b422f278bf27e062b349e97360b6919e773122f21656f23d6da583ce7cb1a92","import_time":"2025-12-01T04:26:46.491027626Z","modified_time":"2025-12-01T04:11:22Z","versions":["1.297.3"]}]}}

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