Malicious Code Detected in compass-e2e-tests Package - Version 99.0.0
Summary
MAL-2026-922: Malicious code in compass-e2e-tests (npm). Affects compass-e2e-tests versions 99.0.0. 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 compass-e2e-tests package is an npm library designed for end-to-end testing in web applications. It facilitates automated testing processes, ensuring that applications function as intended across various scenarios. However, the package has been flagged for malicious behavior, specifically in version 99.0.0, which raises significant security concerns for developers relying on it for testing purposes.
Vulnerability Detail
The vulnerability in the compass-e2e-tests package arises from its communication with a domain associated with malicious activities. This behavior can lead to unauthorized data access, potential data breaches, and compromise the integrity of the testing environment. The origin of this vulnerability has been traced back to the package analysis conducted by OpenSSF, which identified the malicious nature of the package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall compass-e2e-tests
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, developers can avoid using the compass-e2e-tests package altogether and consider alternative testing libraries that do not exhibit malicious behavior. Additionally, ensure to monitor your application for any signs of compromise during this period.
Conclusion
The compass-e2e-tests package version 99.0.0 has been identified as malicious, posing significant risks to applications that utilize it for testing. It is crucial for developers to take immediate action by removing the affected package and updating to a secure version or using alternative libraries. Regular monitoring of dependencies is essential to maintain application security.
See every vulnerability recorded for compass-e2e-tests →
FAQ
The compass-e2e-tests package is an npm library used for automating end-to-end testing in web applications.
It is considered malicious because it communicates with a domain linked to malicious activities, posing security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner without needing to sign up.
If immediate updates are not possible, consider using alternative testing libraries and monitor your application for any unusual behavior.
Utilize tools like Vulert to keep track of vulnerabilities in your open-source dependencies and receive alerts for any new issues.