Malicious Code Injection in riyanto-poke101: A Threat to npm Ecosystem
Summary
MAL-2025-165113: Malicious code in riyanto-poke101 (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-poke101 is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign that has led to the proliferation of malicious packages. These packages are designed to inflate developer reputation scores through automated publishing of derivative packages, often containing harmful scripts.
Vulnerability Detail
The vulnerability in riyanto-poke101 stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these tainted packages. The malicious payload can lead to the installation of unwanted scripts and potential exploitation 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 riyanto-poke101
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 riyanto-poke101 package until a fix is confirmed. Additionally, consider using the following command to uninstall the package: npm uninstall riyanto-poke101.
Conclusion
The riyanto-poke101 package is compromised by malicious code that poses a significant risk to developers and applications using it. Immediate action is required to mitigate this vulnerability by updating or uninstalling the package. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for riyanto-poke101 →
FAQ
Riyanto-poke101 is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the installation of malicious scripts that may compromise your application's security and integrity.
If you have installed riyanto-poke101, it is crucial to uninstall it immediately and check for any updates or patches.
Yes, you can use Vulert to monitor your application for open-source vulnerabilities in real-time without needing to access the code. Simply upload your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.