Malicious Code Injection in rival-poke83: A Threat to npm Ecosystem
Summary
MAL-2025-165070: Malicious code in rival-poke83 (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-poke83' is part of a series of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and republish variants, thus polluting the npm registry.
Vulnerability Detail
The vulnerability in 'rival-poke83' originates from its inclusion in a malicious campaign aimed at manipulating the npm ecosystem. It contains scripts that alter the package.json file by removing private flags and changing version numbers. Additionally, it generates random package names, which can lead to a significant increase in the number of malicious packages in the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rival-poke83
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 avoid using the 'rival-poke83' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'rival-poke83' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package integrity. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to safeguard their applications from such vulnerabilities.
See every vulnerability recorded for rival-poke83 →
FAQ
The 'rival-poke83' package is a malicious npm package that was part of a campaign to inflate developer reputation scores through the creation of numerous derivative packages.
This vulnerability can lead to the inclusion of malicious code in your project, potentially compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall rival-poke83' and check for any other affected packages.
Regularly audit your dependencies using tools like Vulert, which can monitor your project for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.