MAL-2025-190926Malicious code in posthog-react-native (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | posthog-react-native | 4.11.1 |
| npm | posthog-react-native | 4.12.5 |
{"modified":"2025-11-25T00:36:51Z","published":"2025-11-24T16:31:47Z","schema_version":"1.7.4","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","affected":[{"package":{"ecosystem":"npm","name":"posthog-react-native"},"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"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"bdc429049d0797390f57bc821cabd2d46fad88c5363136fc96bab4b5497000fe","import_time":"2025-11-24T16:39:43.269547403Z","modified_time":"2025-11-24T16:31:47Z","versions":["4.12.5","4.11.1"]},{"source":"google-open-source-security","sha256":"3750278ea88edf0ebcf86392fa3a9179766a1a65004bb33e995c2f627883785e","import_time":"2025-11-25T00:17:33.167031Z","modified_time":"2025-11-25T00:16:49Z","versions":["4.12.5","4.11.1"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0