Malicious Code Injection in rival-poke56 Package: A Threat to npm Users
Summary
MAL-2025-165040: Malicious code in rival-poke56 (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 rival-poke56 package is part of the npm ecosystem, which is widely used for JavaScript development. This package, like many others, is intended to facilitate various functionalities within applications. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing system, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in the rival-poke56 package stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts designed to modify the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry, inflate developer reputation scores fraudulently, and potentially introduce harmful code into projects that depend on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rival-poke56
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 the rival-poke56 package and any other packages that are part of the malicious campaign. Regularly audit your dependencies and remove any suspicious packages from your project.
Conclusion
The rival-poke56 package poses a significant security risk due to its malicious code injection capabilities. Developers should take immediate action to remove this package and monitor their dependencies for similar threats. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for rival-poke56 →
FAQ
The rival-poke56 package is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
This vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and stability.
You should immediately remove the rival-poke56 package from your project and audit your dependencies for any other malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.