Skip to content
OpenAdvisories
Malicious MAL-2025-190947 GHSA-2h4r-hgjf-w9wh

@posthog/plugin-server

npm package · versions 1.10.8

Reported Nov 24, 2025 · Updated Nov 26, 2025

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (cbacde545c940abfe63a0667580ea37cfc021d6b3e25094b71e23273cd899e1b)
The package @posthog/plugin-server was found to contain malicious code.

Source: ghsa-malware (253ad67685fc19f76edae91119a956487dc224af2198de16462b38ff9e340445)
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 (7c681429dcfd9665a709db006babcbdfb4b407e2198249abca1d37e58765553a)
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.