MAL-2025-190887Malicious code in @posthog/nextjs-config (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @posthog/nextjs-config | 1.5.1 |
{"modified":"2025-11-25T00:36:47Z","published":"2025-11-24T16:31:47Z","schema_version":"1.7.4","id":"MAL-2025-190887","summary":"Malicious code in @posthog/nextjs-config (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (413c527b7ca5fcc3cc28ad0195f527e99f9d0f1061994161eafba170450175b7)\nThe package @posthog/nextjs-config was found to contain malicious code.\n\n## Source: google-open-source-security (1e0b23442ee8f111a93aed8884b9a1c643fd409e28124750b0947805257d70f0)\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/nextjs-config"},"versions":["1.5.1"]}],"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":"amazon-inspector","sha256":"413c527b7ca5fcc3cc28ad0195f527e99f9d0f1061994161eafba170450175b7","import_time":"2025-11-24T16:39:54.122125046Z","modified_time":"2025-11-24T16:31:47Z","versions":["1.5.1"]},{"source":"google-open-source-security","sha256":"1e0b23442ee8f111a93aed8884b9a1c643fd409e28124750b0947805257d70f0","import_time":"2025-11-25T00:17:33.06865Z","modified_time":"2025-11-25T00:16:49Z","versions":["1.5.1"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0