Malicious Code Injection in rival-poke106: A Threat to npm Users
Summary
MAL-2025-164985: Malicious code in rival-poke106 (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-poke106 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The functionality of rival-poke106 is compromised, making it a vector for malicious activities.
Vulnerability Detail
The vulnerability in rival-poke106 originates from its design to include autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior pollutes the npm registry and can potentially harm developers by misrepresenting their contributions and reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rival-poke106
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 prevent the installation of rival-poke106 by using npm's package-lock.json to monitor your dependencies. Ensure that you do not include this package in your project and regularly audit your dependencies for any malicious packages.
Conclusion
The rival-poke106 package poses a significant threat due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain the integrity of their projects. Utilizing tools like Vulert can aid in identifying and mitigating such vulnerabilities effectively.
See every vulnerability recorded for rival-poke106 →
FAQ
rival-poke106 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, misrepresentation of your contributions, and potential security risks from malicious code execution.
You should uninstall the package immediately using 'npm uninstall rival-poke106' and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json. You can check your application for vulnerabilities using the Vulert playground.
Regularly audit your dependencies, keep your packages updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.