MAL-2025-190925 Malicious code in posthog-node (npm)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (c2ec4a50c0b553e9abbcc25147ad50014cf1488415e1ec8e3234f3e9bb3cc24e)
The package posthog-node was found to contain malicious code.
Source: google-open-source-security (5dac9bdcf8ac8226ec0441699268220426948df17dbc750b5724a663527c1822)
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm posthog-node(npm) | = 4.18.1; = 5.11.3; = 5.13.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm posthog-node(npm) | = 5.11.3 | No fix listed |
| npm posthog-node(npm) | = 5.13.3 | No fix listed |
| npm posthog-node(npm) | = 4.18.1 | No fix listed |