Malicious Code Injection in riyanto-poke13: A Threat to npm Users
Summary
MAL-2025-165118: Malicious code in riyanto-poke13 (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-poke13 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 deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security risks for developers and users alike.
Vulnerability Detail
The vulnerability in riyanto-poke13 stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts designed to modify the package.json file, removing private flags and altering version numbers. This behavior not only compromises the integrity of the original package but also leads to the proliferation of potentially harmful variants that can mislead developers and inflate reputation scores for malicious actors. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit npm's publishing system for nefarious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke13
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-poke13 package and any of its derivatives. 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 any signup.
Conclusion
The riyanto-poke13 package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to be aware of this vulnerability and take immediate action to remove the package from their projects. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.
See every vulnerability recorded for riyanto-poke13 →
FAQ
Riyanto-poke13 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 injection of malicious code, compromising the security and integrity of your project.
You should uninstall the package immediately using npm uninstall riyanto-poke13 and monitor your project for any further vulnerabilities.
Yes, tools like Vulert can help you monitor and alert you in real-time for open-source vulnerabilities in your software.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.