Malicious Code Injection in rival-poke95: A Threat to npm Users
Summary
MAL-2025-165083: Malicious code in rival-poke95 (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-poke95 is an npm package that is part of the tea.xyz token reward campaign, which has been associated with malicious activities. This package is designed to facilitate the automatic generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. The presence of malicious scripts within this package poses a significant risk to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in rival-poke95 originates from malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to reputation damage for developers and compromise the security of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rival-poke95
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, users can remove the rival-poke95 package from their project by executing the following command: npm uninstall rival-poke95. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The rival-poke95 package poses a significant security risk due to its malicious code that alters package configurations and repopulates the npm registry with harmful variants. Users are urged to take immediate action by updating or removing the package to safeguard their applications.
See every vulnerability recorded for rival-poke95 →
FAQ
The vulnerability involves malicious code that modifies package.json files and republishes variants to the npm registry, potentially compromising application security.
You can use Vulert, which monitors open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check your application without any signup.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
Yes, the vulnerability can lead to reputation damage for developers and may compromise the security of applications that depend on the affected package.
Detailed information can be found in the vulnerability report on the npm registry and through security advisories related to rival-poke95.