Malicious Code Injection in riyanto-poke91: A Threat to npm Users
Summary
MAL-2025-165204: Malicious code in riyanto-poke91 (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-poke91 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 exploit npm's publishing system. It is designed to generate and publish derivative packages with random names, which can lead to reputation inflation for developers involved in the tea.xyz token reward campaign. The malicious nature of this package poses significant risks to developers and users alike.
Vulnerability Detail
The vulnerability in riyanto-poke91 originates from its association with the tea.xyz token reward campaign. It contains scripts that automatically modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior allows the package to continuously republish variants, polluting the npm registry and potentially leading to security risks for users who unknowingly install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke91
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-poke91 package and any packages that depend on it. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The riyanto-poke91 package poses a significant threat due to its malicious code designed to exploit the npm registry. It is crucial for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for riyanto-poke91 →
FAQ
Riyanto-poke91 is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the installation of malicious packages that may compromise your application's security and integrity.
You should uninstall the package immediately using npm uninstall riyanto-poke91 and check for any dependencies that may rely on it.
Yes, regularly monitor your dependencies using tools like Vulert, which alerts you to open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring an account.