Malicious Code Injection in capitalist_tarantula_requirement Package
Summary
MAL-2025-93473: Malicious code in capitalist_tarantula_requirement (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 capitalist_tarantula_requirement package is part of the npm ecosystem, often utilized in JavaScript projects for dependency management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing system, leading to the proliferation of harmful packages that can compromise developer environments and inflate reputation scores through deceptive practices.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the capitalist_tarantula_requirement package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, polluting the npm registry and potentially leading to security risks for developers who unknowingly integrate these packages into their projects. The origin of this vulnerability is linked to a broader campaign associated with the tea.xyz token reward system, which incentivizes the creation of such harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall capitalist_tarantula_requirement
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, you can avoid using the capitalist_tarantula_requirement package until a secure version is released. Additionally, consider using the following command to uninstall the package: npm uninstall capitalist_tarantula_requirement.
Conclusion
The capitalist_tarantula_requirement package poses a significant risk due to its malicious code designed to manipulate project dependencies and pollute the npm registry. It is crucial for developers to stay informed about such vulnerabilities and take proactive measures to secure their projects.
See every vulnerability recorded for capitalist_tarantula_requirement →
FAQ
It is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
If integrated, it can lead to the modification of your package.json file and the introduction of harmful packages into your project.
You should uninstall the package immediately and check for any updates or patches that may be available.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.