Malicious Code Injection in past_kangaroo_0xrequest Package - npm Vulnerability
Summary
MAL-2025-106946: Malicious code in past_kangaroo_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 past_kangaroo_0xrequest package is part of a larger ecosystem of npm packages that have been associated with the tea.xyz token reward campaign. This package, like others in this campaign, is designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. It aims to inflate developer reputation scores for token rewards, making it a target for malicious activities.
Vulnerability Detail
The vulnerability in the past_kangaroo_0xrequest package stems from its malicious code, 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 compromising the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has flooded the npm ecosystem with similar malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall past_kangaroo_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 prevent the malicious behavior by removing the package from your dependencies. Use the following command to uninstall it: npm uninstall past_kangaroo_0xrequest.
Conclusion
The past_kangaroo_0xrequest package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is essential to remove this package from your project and monitor for similar vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for past_kangaroo_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
The risks include the potential compromise of your project's integrity, as the package can alter your package.json and republish malicious variants.
Currently, there is no patched version available. The best course of action is to uninstall the package.
Regularly audit your dependencies, use tools like Vulert for monitoring, and avoid using packages from untrusted sources.