Malicious Code Injection in just_guanaco_requirement Package
Summary
MAL-2025-95163: Malicious code in just_guanaco_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 just_guanaco_requirement package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate certain functionalities within the tea protocol, but it has been compromised to serve malicious purposes.
Vulnerability Detail
The vulnerability in the just_guanaco_requirement package originates from its association with a malicious campaign that employs scripts to automatically generate and publish derivative packages with randomized names. These scripts modify the package.json file to remove private flags, alter version numbers, and continuously republish variants, leading to pollution of the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall just_guanaco_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 workaround, you can avoid using the just_guanaco_requirement package until a patched version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The just_guanaco_requirement package has been identified as containing malicious code that can compromise the integrity of the npm ecosystem. It is crucial for developers to remain vigilant, update their packages, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for just_guanaco_requirement →
FAQ
The just_guanaco_requirement package is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application if you inadvertently use affected packages.
If you have installed the just_guanaco_requirement package, it is recommended to update it to a patched version or remove it from your project until a fix is available.
You can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software using just package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.