Malicious Code Injection in rival-poke103: A Threat to npm Users
Summary
MAL-2025-164982: Malicious code in rival-poke103 (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-poke103' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant issues within the npm ecosystem.
Vulnerability Detail
The vulnerability in 'rival-poke103' originates from its association with the tea.xyz token reward campaign, which has been linked to malicious activities on npm. The package contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly install these malicious packages, leading to potential data breaches or system compromises.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rival-poke103
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-poke103' package until a secure version is released. Additionally, you can use the following command to uninstall the package: 'npm uninstall rival-poke103'.
Conclusion
The 'rival-poke103' package poses a significant threat to the npm ecosystem due to its malicious code injection capabilities. It is crucial for developers to remain vigilant, update their packages regularly, and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for rival-poke103 →
FAQ
'rival-poke103' 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 installation of malicious code, which may compromise your application's security and integrity.
You should uninstall the package immediately and check for any updates or patches that may be available.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.