{"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","modified":"2025-11-26T00:10:56.181762Z","published":"2025-11-24T16:31:47Z","database_specific":{"malicious-packages-origins":[{"sha256":"413c527b7ca5fcc3cc28ad0195f527e99f9d0f1061994161eafba170450175b7","import_time":"2025-11-24T16:39:54.122125046Z","source":"amazon-inspector","versions":["1.5.1"],"modified_time":"2025-11-24T16:31:47Z"},{"sha256":"1e0b23442ee8f111a93aed8884b9a1c643fd409e28124750b0947805257d70f0","import_time":"2025-11-25T00:17:33.06865Z","source":"google-open-source-security","versions":["1.5.1"],"modified_time":"2025-11-25T00:16:49Z"}]},"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"}],"affected":[{"package":{"name":"@posthog/nextjs-config","ecosystem":"npm","purl":"pkg:npm/%40posthog/nextjs-config"},"versions":["1.5.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@posthog/nextjs-config/MAL-2025-190887.json"}}],"schema_version":"1.7.3","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}