Malicious Code Injection in riyanto-poke20: A Threat to npm Users
Summary
MAL-2025-165126: Malicious code in riyanto-poke20 (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-poke20 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with a token reward campaign that has been identified as malicious. It is designed to inflate developer reputation scores through the automatic generation and publishing of derivative packages, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in riyanto-poke20 originates from its involvement in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these polluted packages, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke20
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-poke20 package and monitor your project's dependencies for any signs of malicious behavior. Regularly audit your npm packages using the command: npm audit to identify and address vulnerabilities.
Conclusion
The riyanto-poke20 package poses a significant threat due to its malicious behavior of modifying package files and republishing variants. It is essential for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to maintain the security of their projects.
See every vulnerability recorded for riyanto-poke20 →
FAQ
The riyanto-poke20 package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
This vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
If you have installed riyanto-poke20, you should uninstall it immediately using the command npm uninstall riyanto-poke20.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.