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