Malicious Code Detected in @posthog/taxonomy-plugin: A Critical Security Alert

@posthog/taxonomy-plugin Updated 24 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-190894: Malicious code in @posthog/taxonomy-plugin (npm). Affects @posthog/taxonomy-plugin versions 0.0.8. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @posthog/taxonomy-plugin is an npm package designed to facilitate taxonomy management within PostHog, a product analytics platform. This package allows users to categorize and manage data effectively, enhancing the analytical capabilities of the PostHog environment. However, it has recently been identified to contain malicious code, posing a significant security risk to users relying on this package.

Vulnerability Detail

The vulnerability originates from the inclusion of malicious code within version 0.0.8 of the @posthog/taxonomy-plugin. Detected by Amazon Inspector, this malicious code can potentially compromise the security of applications using this package, leading to unauthorized access, data breaches, or other malicious activities. Users are advised to take this threat seriously as it can have severe ramifications on application integrity and user data safety.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @posthog/taxonomy-plugin

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, consider removing the @posthog/taxonomy-plugin from your project until a secure version is confirmed. You can do this by running the command: 'npm uninstall @posthog/taxonomy-plugin'.

Conclusion

The discovery of malicious code in the @posthog/taxonomy-plugin poses a significant threat to users of this npm package. It is crucial to take immediate action by updating or removing the package to safeguard your applications. Utilizing tools like Vulert can further enhance your security posture by providing real-time vulnerability monitoring.

See every vulnerability recorded for @posthog/taxonomy-plugin →

Share this vulnerability

FAQ

The malicious code is designed to exploit vulnerabilities in applications using the package, potentially leading to unauthorized access or data breaches.

You can use Vulert, which monitors open-source vulnerabilities in real-time. By simply using your package-lock.json file, you can check for vulnerabilities without any installation or signup.

If immediate updates are not possible, consider removing the package from your project as a temporary measure to mitigate risks.

Detailed information can be found in the vulnerability report published by Amazon Inspector and on the GitHub repository for the @posthog/taxonomy-plugin.

Yes, tools like Vulert can help you monitor and alert for open-source vulnerabilities in your software, providing real-time insights.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @posthog/taxonomy-plugin

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback