Malicious Code Injection in rainy_loon_0xrequest Package
Summary
MAL-2025-107700: Malicious code in rainy_loon_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 rainy_loon_0xrequest package is part of the npm ecosystem, often used in JavaScript applications for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is associated with the tea.xyz token reward scheme, which incentivizes developers to inflate their reputation scores through automated publishing of numerous variants of the package.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the rainy_loon_0xrequest package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rainy_loon_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
Currently, the best workaround is to avoid using the rainy_loon_0xrequest package altogether. If it is already in use, ensure to monitor your package-lock.json file for any unauthorized changes and remove the package immediately.
Conclusion
The rainy_loon_0xrequest package poses a significant risk due to its malicious code that alters project files and inflates npm registry entries. It is crucial to remove this package from your projects and monitor for any unauthorized changes. Utilizing tools like Vulert can help maintain the security of your open-source dependencies.
See every vulnerability recorded for rainy_loon_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
Using this package can lead to security risks, including unauthorized changes to your project files and potential exposure to malicious code.
You should uninstall the package immediately and monitor your project for any unauthorized changes.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.