Malicious Code Injection in riyanto-poke27: A Threat to npm Ecosystem
Summary
MAL-2025-165133: Malicious code in riyanto-poke27 (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-poke27 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to provide developers with tools and functionalities to enhance their applications. However, it has been identified as part of a malicious campaign that exploits the npm registry by flooding it with derivative packages, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in riyanto-poke27 originates from its involvement in a token reward campaign that utilizes autopublish scripts to generate and publish numerous derivative packages with randomized names. This malicious behavior modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, leading to pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly integrate these malicious packages into their projects, compromising their applications and user data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke27
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-poke27 package and instead look for alternative packages that provide similar functionalities without the associated risks. Always review the package's reputation and community feedback before integrating it into your project.
Conclusion
The riyanto-poke27 package poses a significant risk due to its malicious code designed to manipulate the npm registry. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help ensure the security of your applications.
See every vulnerability recorded for riyanto-poke27 →
FAQ
Riyanto-poke27 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
If your application uses the riyanto-poke27 package, it may inadvertently integrate malicious code that can compromise security and lead to data breaches.
You should uninstall the riyanto-poke27 package immediately and review your project's dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application against known vulnerabilities using the Vulert playground without any signup.
Yes, you should look for alternative packages that provide similar functionalities but have a good reputation and are actively maintained.