maven · Malicious package advisory
Malwareorg.mvnpm:posthog-node
GHSA-5f38-2pgv-jhg6
Malicious code in org.mvnpm:posthog-node (Maven)
Details
**Severity:** Critical **Affected versions:** `= 4.18.1` --- _-= Per source details. Do not edit below this line.=-_ ## Source: google-open-source-security (ea90a5928d7667bed4fa9f6effbbe6c8d3ad6521ca51ca2b01551bc02373a7d2) 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/ossf/malicious-packages/blob/59e9fd7d5ff138803baea71d5df869fe93d62782/osv/malicious/maven/org.mvnpm:posthog-node/MAL-2025-191470.json - https://github.com/ossf/malicious-packages/blob/a38ecee305c88a229e05893a0413264b62143ce2/osv/malicious/maven/org.mvnpm:posthog-node/MAL-2025-191470.json - https://www.aikido.dev/blog/shai-hulud-strikes-again-hitting-zapier-ensdomains - https://www.stepsecurity.io/blog/sha1-hulud-the-second-coming-zapier-ens-domains-and-other-prominent-npm-packages-compromised - https://www.wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack - https://github.com/ossf/malicious-packages/blob/752e8a991f186423e3415980200bebfec22d1070/osv/malicious/maven/org.mvnpm:posthog-node/MAL-2025-191470.json - https://github.com/advisories/GHSA-5f38-2pgv-jhg6
Compromised versions (1)
- = 4.18.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.