Malicious Code Injection in riyanto-poke80 Package - npm Vulnerability
Summary
MAL-2025-165192: Malicious code in riyanto-poke80 (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-poke80 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automated generation of derivative packages. The malicious nature of this package compromises the integrity of the npm registry and poses risks to developers who may unknowingly use it.
Vulnerability Detail
The vulnerability in the riyanto-poke80 package stems from its association with the tea.xyz token reward campaign, which has been flooding the npm registry with malicious packages. The package contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting developers who rely on these packages for their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke80
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 workaround, you can use the following command to uninstall the malicious package and prevent any potential issues: npm uninstall riyanto-poke80. Additionally, consider using tools like Vulert to monitor your dependencies for vulnerabilities.
Conclusion
The riyanto-poke80 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for riyanto-poke80 →
FAQ
The riyanto-poke80 package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated package generation.
Using the riyanto-poke80 package can compromise your project's integrity by introducing malicious code that modifies your package.json and republishing variants to the npm registry.
If you have installed the riyanto-poke80 package, you should uninstall it immediately using the command npm uninstall riyanto-poke80.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
It is advisable to look for alternative packages that provide similar functionality without the associated risks of malicious behavior.