Malicious Code Injection in riyanto-poke82: A Threat to npm Ecosystem
Summary
MAL-2025-165194: Malicious code in riyanto-poke82 (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-poke82 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 distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that can inflate developer reputation scores for token rewards. This behavior not only compromises the integrity of the npm ecosystem but also poses significant risks to developers and users relying on these packages.
Vulnerability Detail
The vulnerability in riyanto-poke82 originates from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants that pollute the npm registry. The malicious payload can lead to unintended consequences, such as the installation of compromised packages by developers who may unknowingly include these variants in their projects, thereby exposing their applications to security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke82
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-poke82 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package.json and package-lock.json files for any suspicious or unrecognized dependencies.
Conclusion
The riyanto-poke82 package poses a significant threat to the npm ecosystem due to its malicious behavior of modifying package files and flooding the registry with compromised variants. It is essential for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for riyanto-poke82 →
FAQ
Riyanto-poke82 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 installation of compromised packages, which may introduce security risks and affect the integrity of your application.
You should uninstall the package immediately using the command npm uninstall riyanto-poke82 and audit your dependencies for any other malicious packages.
You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground without any signup.
There is no patch for the riyanto-poke82 package since it is part of a malicious campaign. The best course of action is to remove it from your project.