Skip to main content
MalwarePublished Updated

@medusajs/analytics-posthog (npm) · Malicious Code

Affects @medusajs/analytics-posthogSource GCVE Database

0

Malicious package : remove @medusajs/analytics-posthog and rotate any secrets on hosts that installed it.

Data as of 20 Nov 2026, 01:14 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-191456

What to do

Remove @medusajs/analytics-posthog from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@medusajs/analytics-posthogAffected
  • =2.11.4-preview-20251124090208
  • =2.11.4-preview-20251124060135
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package @medusajs/analytics-posthog versions 2.11.4-preview-20251124090208 and 2.11.4-preview-20251124060135 contain malicious code. Any system with this package installed or running should be considered fully compromised. Immediate rotation of all secrets and keys stored on the affected system is recommended. Removal of the package is advised, but it may not fully eliminate all malicious software introduced by the package.

References

Community reviews

Loading reviews…