Malicious Code Injection in rival-poke75: A Threat to npm Users
Summary
MAL-2025-165061: Malicious code in rival-poke75 (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-poke75' is part of a series of npm packages that have been linked to a token reward campaign associated with the tea.xyz protocol. 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, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in 'rival-poke75' originates from its malicious payload, which alters the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly install these malicious packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rival-poke75
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 the 'rival-poke75' package and monitor your project's dependencies for any similar malicious packages. You can also use tools like Vulert to scan your package-lock.json file for vulnerabilities.
Conclusion
The 'rival-poke75' package poses a significant threat to npm users due to its malicious behavior of modifying package files and republishing variants. It is essential to take immediate action by removing the package and monitoring your dependencies to safeguard your applications from potential security risks.
See every vulnerability recorded for rival-poke75 →
FAQ
'rival-poke75' is an npm package that has been identified as malicious, designed to inflate developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the installation of malicious code, which may compromise your application's security and integrity.
Immediately uninstall the package using 'npm uninstall rival-poke75' and check for any other affected packages in your project.
Yes, regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.