Malicious Code Injection in riyanto-poke99: A Threat to npm Ecosystem
Summary
MAL-2025-165212: Malicious code in riyanto-poke99 (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-poke99 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 and sharing of JavaScript code. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages, thereby inflating developer reputation scores for token rewards. This vulnerability poses a significant risk to developers and users relying on npm packages for their applications.
Vulnerability Detail
The vulnerability in riyanto-poke99 stems from its association with the tea.xyz token reward campaign, which has been known to deploy autopublish scripts that generate and publish numerous derivative packages with randomized names. These scripts modify the package.json file to remove private flags, alter version numbers, and continuously republish variants, leading to pollution of the npm registry. The malicious payload can compromise the integrity of applications that depend on this package, potentially introducing security risks and instability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke99
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-poke99 package and any other packages associated with the tea.xyz campaign. Regularly audit your project's dependencies to ensure that no malicious packages are included. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The riyanto-poke99 package poses a significant risk due to its malicious code injection aimed at exploiting the npm ecosystem. It is essential for developers to be vigilant, remove any affected packages, and utilize tools like Vulert to monitor for vulnerabilities. By taking these steps, you can help ensure the security and integrity of your applications.
See every vulnerability recorded for riyanto-poke99 →
FAQ
Riyanto-poke99 is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and stability.
You should uninstall the package immediately using npm uninstall riyanto-poke99 and check for any dependencies that may rely on it.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.