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