Malicious Code Detected in test-on-other Package - Critical Vulnerability
Summary
MAL-2026-497: Malicious code in test-on-other (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 test-on-other package is an npm library designed for testing and compatibility checks across different environments. It is commonly used in JavaScript projects to ensure code behaves as expected in various scenarios. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the test-on-other package, which has been found to include malicious code that can compromise the integrity and security of applications using it. This malicious code can lead to unauthorized access, data theft, or other harmful actions within the affected systems. The vulnerability affects all versions starting from 0, 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 test-on-other
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 test-on-other package from your project until a safe version is available. Use the following command to uninstall it: npm uninstall test-on-other.
Conclusion
The discovery of malicious code in the test-on-other package highlights the importance of regularly monitoring and updating dependencies in software projects. Users are urged to take immediate action to mitigate risks by updating or removing the affected package.
See every vulnerability recorded for test-on-other →
FAQ
The test-on-other package is an npm library used for testing and compatibility checks in JavaScript applications.
The malicious code can lead to unauthorized access and potential data theft, posing serious security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
As a temporary measure, consider uninstalling the test-on-other package until a safe version is released.
Regularly check for updates on your dependencies and consider using tools like Vulert for real-time monitoring of vulnerabilities.