Malicious Code Injection in rival-poke109: A Threat to npm Ecosystem
Summary
MAL-2025-164988: Malicious code in rival-poke109 (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-poke109 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 manipulate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package compromises the integrity of the npm ecosystem, potentially affecting developers and users relying on it.
Vulnerability Detail
The vulnerability in rival-poke109 stems from its inclusion in a malicious campaign that utilizes autopublish scripts to create and publish numerous derivative packages with randomized names. These scripts modify the package.json file to remove private flags, alter version numbers, and continuously republish variants, leading to pollution of the npm registry. This can result in developers inadvertently using compromised packages, which may contain harmful code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rival-poke109
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, you can avoid using rival-poke109 and any packages that depend on it. Additionally, consider using npm audit to identify and address vulnerabilities in your project dependencies.
Conclusion
The discovery of malicious code in the rival-poke109 package highlights the ongoing threats within the npm ecosystem. Developers must remain vigilant and proactive in managing their dependencies to safeguard their projects from potential vulnerabilities. Utilizing tools like Vulert can aid in monitoring and alerting for such issues effectively.
See every vulnerability recorded for rival-poke109 →
FAQ
rival-poke109 is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your project, compromising its security and integrity.
You should remove the rival-poke109 package from your project immediately and check for any other affected packages.
You can use tools like Vulert, which monitors 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 if your application is affected by this vulnerability without any signup.