Malicious Code Injection in rival-poke90: A Threat to npm Users
Summary
MAL-2025-165078: Malicious code in rival-poke90 (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 rival-poke90 package is part of a broader ecosystem within npm, which is a package manager for JavaScript. This package, like many others, is intended to facilitate the development and deployment of applications by providing reusable code components. However, rival-poke90 has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that are generated automatically. This not only affects the integrity of the npm ecosystem but also poses a significant risk to developers who may unknowingly incorporate these malicious packages into their projects.
Vulnerability Detail
The vulnerability in rival-poke90 stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores for token rewards associated with the tea.xyz protocol. The malicious payload continuously republishes variants of the package, polluting the npm registry and potentially leading to the inclusion of harmful code in legitimate projects. The origin of this vulnerability is linked to the automated scripts that are part of the package, which are designed to exploit the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rival-poke90
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-poke90 and any other packages that are part of the tea.xyz token reward campaign. Regularly audit your project's dependencies to ensure that no malicious packages are included. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The discovery of malicious code in the rival-poke90 package highlights the importance of vigilance when using third-party libraries in software development. By understanding the nature of this vulnerability and taking proactive steps to remove affected packages, developers can help maintain the integrity of their projects and the broader npm ecosystem.
See every vulnerability recorded for rival-poke90 →
FAQ
Rival-poke90 is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the inclusion of malicious code in your project, which may compromise security and functionality.
You should uninstall the package immediately using 'npm uninstall rival-poke90' and check for any other affected packages.
You can use Vulert to monitor your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.