Malicious Code Injection in rival-poke97: A Threat to npm Ecosystem
Summary
MAL-2025-165085: Malicious code in rival-poke97 (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
rival-poke97 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is designed to manipulate developer reputation scores through the generation and publication of derivative packages. It is typically used in token reward schemes, which incentivize developers to publish more packages, often leading to the proliferation of low-quality or harmful software.
Vulnerability Detail
The vulnerability in rival-poke97 stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages. The malicious payload continuously republishes variants, polluting the registry and potentially leading to security issues in dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rival-poke97
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, avoid using rival-poke97 and any other packages that may be associated with the tea.xyz token reward campaign. Monitor your package dependencies closely and consider using tools like Vulert to keep track of vulnerabilities in your project. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The rival-poke97 package poses a significant risk to the npm ecosystem due to its malicious behavior aimed at inflating developer reputation scores. It is crucial for developers to remain vigilant, regularly update their dependencies, and utilize monitoring tools like Vulert to safeguard their applications from such vulnerabilities.
See every vulnerability recorded for rival-poke97 →
FAQ
rival-poke97 is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores through the publication of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the package immediately using the command 'npm uninstall rival-poke97' and review your other dependencies for similar vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.