{"id":"MAL-2025-191291","summary":"Malicious code in @posthog/heartbeat-plugin (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4b0402071ebf395126c5e1e90681622f203d9744eca75a1f2061a6a2d030cdcc)\nThe package @posthog/heartbeat-plugin was found to contain malicious code.\n\n## Source: google-open-source-security (5532864030f88d3199d59013dd6adb907d39a0501f46ae0622a2edea64e2fae8)\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-12-01T04:40:45.962770Z","published":"2025-11-25T00:16:49Z","database_specific":{"malicious-packages-origins":[{"source":"google-open-source-security","versions":["0.0.8"],"import_time":"2025-11-25T00:17:32.851258Z","modified_time":"2025-11-25T00:16:49Z","sha256":"5532864030f88d3199d59013dd6adb907d39a0501f46ae0622a2edea64e2fae8"},{"import_time":"2025-12-01T04:26:44.291187636Z","modified_time":"2025-12-01T04:11:22Z","sha256":"4b0402071ebf395126c5e1e90681622f203d9744eca75a1f2061a6a2d030cdcc","source":"amazon-inspector","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/heartbeat-plugin","ecosystem":"npm","purl":"pkg:npm/%40posthog/heartbeat-plugin"},"versions":["0.0.8"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@posthog/heartbeat-plugin/MAL-2025-191291.json"}}],"schema_version":"1.7.3","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"}]}