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

@posthog/kinesis-plugin Updated 24 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-190884: Malicious code in @posthog/kinesis-plugin (npm). Affects @posthog/kinesis-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 Penetration testing for web, API and mobile 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/kinesis-plugin is an npm package designed to facilitate the integration of PostHog analytics with AWS Kinesis, enabling users to stream event data efficiently. This package is utilized by developers to enhance data analytics capabilities in their applications. However, it has recently been identified to contain malicious code, posing significant security risks to applications that depend on it.

Vulnerability Detail

The vulnerability originates from the package @posthog/kinesis-plugin, which has been flagged by Amazon Inspector for containing malicious code. This malicious code can potentially lead to unauthorized access, data breaches, or other harmful actions within the applications that utilize this package. The specific version affected is 0.0.8, and the SHA256 hash of the malicious code is f2f869c9f2e7f4d35c729f506eb479a88bab7ca0dcd2aa6f2485319d87f39dd5. Users are advised to take immediate action to mitigate risks associated with this vulnerability.

How To Fix

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

npm uninstall @posthog/kinesis-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, you can remove the @posthog/kinesis-plugin package from your project by executing the following command: npm uninstall @posthog/kinesis-plugin. This will prevent any potential exploitation of the malicious code until a fix is provided.

Conclusion

The discovery of malicious code in the @posthog/kinesis-plugin package poses a serious threat to applications that utilize it. Immediate action is required to update or remove the affected package to safeguard your application from potential exploitation. Utilize tools like Vulert for ongoing monitoring of vulnerabilities.

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

Share this vulnerability

FAQ

The malicious code can lead to unauthorized access and potential data breaches in applications using this package.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.

If you cannot update the package, it is advisable to uninstall it temporarily to mitigate risks until a secure version is available.

The vulnerability was reported by Amazon Inspector.

How To Fix

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

npm uninstall @posthog/kinesis-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