MAL-2025-190887
Dashboard / Malicious Package / MAL-2025-190887
MAL-2025-190887
Summary: Malicious code in @posthog/nextjs-config (npm)
Details: Source: amazon-inspector (413c527b7ca5fcc3cc28ad0195f527e99f9d0f1061994161eafba170450175b7) The package @posthog/nextjs-config was found to contain malicious code. Source: google-open-source-security (1e0b23442ee8f111a93aed8884b9a1c643fd409e28124750b0947805257d70f0) 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://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/nextjs-config
Purl: pkg:npm/%40posthog/nextjs-config
Affected ranges
Type: N/A
Events:
