Malicious Code Injection in riyanto-poke96 Package: A Threat to npm Ecosystem
Summary
MAL-2025-165209: Malicious code in riyanto-poke96 (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 riyanto-poke96 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to manipulate the npm registry and inflate developer reputation scores through the automatic generation of derivative packages.
Vulnerability Detail
The vulnerability in the riyanto-poke96 package originates from its involvement in the tea.xyz token reward campaign. This campaign has led to the creation of numerous malicious packages that contain scripts designed to autopublish variants with randomized names. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and continuously republishing these variants, which pollutes the npm registry. This can lead to security risks for developers who unknowingly integrate these compromised packages into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke96
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 riyanto-poke96 package and consider replacing it with a reputable alternative. Always verify the integrity of packages before installation.
Conclusion
The riyanto-poke96 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for riyanto-poke96 →
FAQ
The riyanto-poke96 package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the integration of malicious code into your application, potentially compromising its security and functionality.
If you have installed the riyanto-poke96 package, you should uninstall it immediately using the command npm uninstall riyanto-poke96.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.
Yes, consider using well-established and trusted packages that provide similar functionality without the associated risks.