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