Malicious Code Injection in capitalist_guanaco_0xrequest Package
Summary
MAL-2025-100260: Malicious code in capitalist_guanaco_0xrequest (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_guanaco_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of applications relying on it.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry with numerous derivative packages. The implications of this vulnerability include potential exposure of sensitive data, unauthorized access to systems, and degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall capitalist_guanaco_0xrequest
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 avoid using the capitalist_guanaco_0xrequest package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The capitalist_guanaco_0xrequest package poses significant security risks due to its malicious code. It is crucial for developers to remove this package from their projects and monitor for any vulnerabilities using tools like Vulert. Staying informed and proactive can help maintain the integrity of your applications.
See every vulnerability recorded for capitalist_guanaco_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing your application to security risks.
You should uninstall the capitalist_guanaco_0xrequest package immediately to mitigate any risks.
Yes, consider using other npm packages that offer similar functionalities without the malicious behavior.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application using the Vulert playground at Vulert Scanner without needing to sign up.