MAL-2025-190649
Dashboard / Malicious Package / MAL-2025-190649
MAL-2025-190649
Summary: Malicious code in posthog-react-native-session-replay (npm)
Details: Source: amazon-inspector (2487b6f3e3f9f2ef47f2509033fe071b332f5035e1e01320482eea928ae8a120) The package posthog-react-native-session-replay was found to contain malicious code. Source: ghsa-malware (f84de072948330bf7809a0cc2217b5ab60e23ae40c53a15459a256384c9b3866) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it. Source: google-open-source-security (6fe14fb5c143cd67f235c5d70e8041945de392bd6e8651ed8da2472e67266015) This package was compromised by the Sha1-Hulud: The Second Coming NPM worm. The malicious payload steals tokens and credentials and publishes them to GitHub. The worm will propogate itself to NPM packages the user owns and establish persistence is a GitHub action. The package may also destroy the user's home directory.
References: https://github.com/advisories/GHSA-mmg5-758v-292x, https://www.aikido.dev/blog/shai-hulud-strikes-again-hitting-zapier-ensdomains, https://www.wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack, https://www.stepsecurity.io/blog/sha1-hulud-the-second-coming-zapier-ens-domains-and-other-prominent-npm-packages-compromised
Affected packages
Package
Name: posthog-react-native-session-replay
Purl: pkg:npm/posthog-react-native-session-replay
Affected ranges
Type: N/A
Events:
