Malicious Code Vulnerability in caterpillar-test Package
Summary
MAL-2025-192721: Malicious code in caterpillar-test (npm). Affects caterpillar-test versions 1.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 caterpillar-test package is an npm library designed for testing purposes, allowing developers to create and run tests for their applications efficiently. However, it has been identified as containing malicious code, which poses significant risks to users who integrate this package into their projects.
Vulnerability Detail
The vulnerability in the caterpillar-test package stems from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code may lead to unauthorized access, data breaches, or other malicious activities. The issue was reported by ReversingLabs, highlighting the need for immediate attention from developers using this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall caterpillar-test
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
Currently, there are no specific workarounds to mitigate the risks associated with the caterpillar-test package. The best course of action is to uninstall the package entirely and seek alternative testing libraries that do not pose security risks.
Conclusion
The caterpillar-test package has been identified as containing malicious code, posing significant risks to applications that utilize it. Developers are advised to uninstall the package immediately and explore alternative solutions for their testing needs. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for caterpillar-test →
FAQ
The caterpillar-test package is an npm library used for testing applications, allowing developers to create and execute tests efficiently.
The malicious code can lead to unauthorized access and potential data breaches, compromising the security of applications that utilize this package.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
No, there is currently no patched version available for the caterpillar-test package. The recommended action is to uninstall it.
You should identify those dependencies and consider replacing them with alternative libraries that do not pose security risks.