Malicious Code Injection in lovely_grouse_0xrequest Package
Summary
MAL-2025-105343: Malicious code in lovely_grouse_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 lovely_grouse_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend 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 leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other packages. The malicious code can compromise the security of applications using this package, leading to unauthorized access or manipulation of data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lovely_grouse_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 remove the lovely_grouse_0xrequest package from your project by executing: npm uninstall lovely_grouse_0xrequest. This will prevent the execution of the malicious code until a secure version is available.
Conclusion
The lovely_grouse_0xrequest package has been identified as containing malicious code that poses a significant risk to applications using it. It is crucial to update or remove this package to safeguard your application from potential threats. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities in your software.
See every vulnerability recorded for lovely_grouse_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file and can lead to unauthorized access or manipulation of your application's data.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without requiring any signup.
If you cannot update the package, consider uninstalling it as a temporary measure to mitigate the risk.