Malicious Code Vulnerability in caterpillar-test Package

caterpillar-test Updated 23 Dec 2025

Summary

23/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192721: Malicious code in caterpillar-test (npm). Affects caterpillar-test versions 1.0.0. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback