Critical Malicious Code Vulnerability in test23112222-api Package
Summary
MAL-2025-191434: Malicious code in test23112222-api (npm). Affects test23112222-api versions 1.0.1. 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 test23112222-api package is an npm module designed for API interactions. It is commonly used in JavaScript applications to facilitate communication with various services. However, this package has been compromised, leading to severe security risks for any system utilizing it.
Vulnerability Detail
The vulnerability stems from a malicious payload embedded within the test23112222-api package, which is part of the Sha1-Hulud: The Second Coming NPM worm. This worm is designed to steal tokens and credentials, publishing them to GitHub, and can propagate itself to other NPM packages owned by the user. Additionally, it may establish persistence through GitHub actions and potentially destroy the user's home directory. Any system running this package is considered fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall test23112222-api
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, avoid using the test23112222-api package until it has been confirmed safe. Monitor your systems for any unauthorized access or changes.
Conclusion
The test23112222-api package has been compromised, leading to significant security risks for users. Immediate action is required to remove the package and secure any affected systems. Utilizing tools like Vulert can help monitor for vulnerabilities in the future.
See every vulnerability recorded for test23112222-api →
FAQ
Immediately remove the package and rotate any secrets or keys stored on the affected system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without any signup.
Failure to address this vulnerability may lead to unauthorized access to sensitive data, potential data loss, and further propagation of the malicious code.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
While removing the package is crucial, there is no guarantee that all malicious software has been eliminated. It is advisable to conduct a thorough security audit of your system.