Malicious Code Injection in riyanto-poke5: A Threat to npm Ecosystem
Summary
MAL-2025-165158: Malicious code in riyanto-poke5 (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 riyanto-poke5 is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in riyanto-poke5 originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of these variants, leading to pollution of the npm registry. The ramifications include compromised package integrity, potential security risks for users who install these packages, and a negative impact on the overall npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke5
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 avoid using the riyanto-poke5 package and monitor your dependencies for any malicious packages. Use the following command to check your package-lock.json for vulnerabilities: npm audit.
Conclusion
The riyanto-poke5 package poses a significant threat to the npm ecosystem due to its malicious behavior of modifying package metadata and republishing variants. It is crucial for developers to be aware of this vulnerability, take necessary actions to remove affected packages, and utilize tools like Vulert for ongoing monitoring.
See every vulnerability recorded for riyanto-poke5 →
FAQ
Riyanto-poke5 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your project.
You should remove the riyanto-poke5 package from your project immediately and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time, providing alerts for any issues.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.