Malicious Code Detected in js-observability Package - Security Alert
Summary
MAL-2026-289: Malicious code in js-observability (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 js-observability package is a JavaScript library used for monitoring and observing application performance and behavior. It is commonly utilized in Node.js environments to enhance observability in applications. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that rely on it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the js-observability package, which was identified by Amazon Inspector. This malicious code can potentially compromise the integrity of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The issue affects all versions of the package starting from its introduction, 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 js-observability
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, users can remove the js-observability package from their project until a secure version is released. This can be done by executing: npm uninstall js-observability. Additionally, consider using alternative packages that provide similar functionality without the security risks.
Conclusion
The discovery of malicious code in the js-observability package highlights the importance of maintaining secure dependencies in software development. Users are urged to take immediate action by updating or removing the affected package to safeguard their applications.
See every vulnerability recorded for js-observability →
FAQ
The js-observability package is a JavaScript library designed for monitoring and observing application performance and behavior in Node.js environments.
The malicious code was identified by Amazon Inspector during a security assessment of the package.
Using the compromised js-observability package can lead to unauthorized access, data breaches, and other malicious activities that can compromise application security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By simply uploading your package-lock.json file, you can check for vulnerabilities without needing to access the code.
Yes, using Vulert's playground, you can monitor your application for vulnerabilities in real-time without any signup. Visit Vulert Scanner to get started.