Malicious Code Injection in rival-poke88: A Threat to npm Ecosystem
Summary
MAL-2025-165075: Malicious code in rival-poke88 (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-poke88' is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages that flood the npm registry. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in 'rival-poke88' originates from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised 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-poke88
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 remove the 'rival-poke88' package from your project by executing the command: npm uninstall rival-poke88. This will prevent any malicious code from executing in your application until a secure version is available.
Conclusion
The 'rival-poke88' package poses a significant threat due to its malicious code that manipulates the npm registry. It is crucial for developers to stay informed about such vulnerabilities and take proactive measures to secure their applications. Regular updates and monitoring can help mitigate risks associated with compromised packages.
See every vulnerability recorded for rival-poke88 →
FAQ
The primary risk is the potential for malicious code execution, which can compromise the security of applications using this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If immediate updates are not possible, consider removing the package from your project as a temporary measure to mitigate risks.
Yes, tools like Vulert can help monitor your dependencies for vulnerabilities and provide alerts in real-time.
Regularly update your packages, monitor for vulnerabilities using tools like Vulert, and review your package.json for any suspicious entries.