Malicious Code Injection in rival-poke66: A Threat to npm Ecosystem
Summary
MAL-2025-165051: Malicious code in rival-poke66 (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 package rival-poke66 is part of a broader campaign associated with the tea.xyz token reward initiative. This package, like many others in this campaign, is designed to manipulate the npm registry by creating and publishing numerous derivative packages. These packages are often generated with randomized names, which can lead to a polluted npm ecosystem and inflated developer reputation scores.
Vulnerability Detail
The vulnerability in rival-poke66 stems from its malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these tainted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rival-poke66
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 measure, you can avoid using rival-poke66 and any packages that may depend on it. Additionally, you can use the following command to uninstall the package: npm uninstall rival-poke66.
Conclusion
The rival-poke66 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry with derivative packages. It is crucial for developers to be vigilant and remove any affected packages to maintain the integrity of their projects.
See every vulnerability recorded for rival-poke66 →
FAQ
rival-poke66 is an npm package that is part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the package immediately and check for any dependencies that may have been affected.
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 if your application is affected without requiring any signup.