{"id":"MAL-2025-190898","summary":"Malicious code in @posthog/variance-plugin (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a1c9085321697fd859b0942dbf2e1f3d6ba0f4a32711bf0764e8c511c2b06df3)\nThe package @posthog/variance-plugin was found to contain malicious code.\n\n## Source: google-open-source-security (3b2840a8d939878f62bd4510ee0f3a800ecba52bddc82ef52c1cc4ebf83b4d6d)\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:11:16.155642Z","published":"2025-11-24T16:31:47Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["0.0.8"],"import_time":"2025-11-24T16:39:52.554195491Z","modified_time":"2025-11-24T16:31:47Z","sha256":"a1c9085321697fd859b0942dbf2e1f3d6ba0f4a32711bf0764e8c511c2b06df3"},{"import_time":"2025-11-25T00:17:33.211401Z","modified_time":"2025-11-25T00:16:49Z","sha256":"3b2840a8d939878f62bd4510ee0f3a800ecba52bddc82ef52c1cc4ebf83b4d6d","source":"google-open-source-security","versions":["0.0.8"]}]},"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/variance-plugin","ecosystem":"npm","purl":"pkg:npm/%40posthog/variance-plugin"},"versions":["0.0.8"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@posthog/variance-plugin/MAL-2025-190898.json"}}],"schema_version":"1.7.3","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}