Malicious Code Detected in activity-reader Package - Security Alert
Summary
MAL-2025-14056: Malicious code in activity-reader (npm). Affected versions are not published. 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 activity-reader package is an npm library designed to facilitate the reading and processing of user activity data. It is commonly used in applications that require tracking user engagement and behavior. However, this package has been found to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the activity-reader package stems from the inclusion of malicious code that can compromise the security of applications using this package. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or facilitate other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall activity-reader
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 measure, you can avoid using the activity-reader package altogether and implement alternative libraries that provide similar functionality without the associated risks. Review your project's dependencies and ensure that no malicious packages are included.
Conclusion
The discovery of malicious code in the activity-reader package highlights the importance of regularly auditing dependencies in your projects. Immediate action is required to mitigate risks associated with this vulnerability. By removing the affected package and monitoring for updates, you can help secure your application.
See every vulnerability recorded for activity-reader →
FAQ
The activity-reader package is an npm library used for reading and processing user activity data in applications.
The malicious code found in the activity-reader package can compromise application security, allowing unauthorized access and other harmful activities.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
You should remove the activity-reader package from your project and consider using a secure alternative. If a patched version is released, update to that version immediately.
Vulert monitors and alerts in real-time for open-source vulnerabilities using just the package-lock.json file, ensuring you stay informed about potential risks.