Critical Malicious Code Vulnerability in analytics-messages-definition-activities Package
Summary
MAL-2025-6400: Malicious code in analytics-messages-definition-activities (npm). Affects analytics-messages-definition-activities versions 99.99.99. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The analytics-messages-definition-activities package is an npm module designed to facilitate the definition and handling of analytics messages within applications. It is commonly used in projects that require structured messaging for data analytics. However, this package has been identified as containing malicious code, which poses significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code in the analytics-messages-definition-activities package, specifically in version 99.99.99. This code can compromise the integrity of applications, potentially leading to data breaches, unauthorized access, or other malicious activities. The origin of this vulnerability is linked to the package being flagged by ReversingLabs, a security research firm that specializes in identifying malicious software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall analytics-messages-definition-activities
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 analytics-messages-definition-activities package from your project until a secure version is released. You can do this by running the command: npm uninstall analytics-messages-definition-activities.
Conclusion
The analytics-messages-definition-activities package has been identified as containing malicious code, posing significant risks to applications. It is crucial to update or remove the package to safeguard your application. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for analytics-messages-definition-activities →
FAQ
The malicious code can lead to unauthorized access and data breaches, compromising the security of applications that use this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By checking your package-lock.json file, you can identify if your application is affected.
Yes, Vulert allows you to monitor vulnerabilities using just your package-lock.json file, providing alerts without requiring code access or installation.
If an immediate update is not possible, consider removing the package as a temporary measure to mitigate risks.
Detailed information about this vulnerability can be found in the ReversingLabs report and on the official GitHub repository.