Malicious Code Injection in riyanto-poke37 Package
Summary
MAL-2025-165144: Malicious code in riyanto-poke37 (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-poke37 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 of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to manipulate the npm registry and inflate developer reputation scores through the automatic generation of derivative packages.
Vulnerability Detail
The vulnerability in the riyanto-poke37 package stems from its involvement in a token reward campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke37
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 workaround, you can avoid using the riyanto-poke37 package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use tools like Vulert to monitor your project's dependencies 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-poke37 package poses a significant risk due to its malicious code that manipulates the npm registry. It is crucial for developers to remain vigilant and utilize tools like Vulert to monitor their dependencies for vulnerabilities. By removing compromised packages and staying informed about updates, developers can protect their applications from potential threats.
See every vulnerability recorded for riyanto-poke37 →
FAQ
The riyanto-poke37 package is a JavaScript package available on npm, which is part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the installation of malicious code that modifies your project's dependencies, potentially compromising your application's security.
You should immediately remove the riyanto-poke37 package from your project and monitor your dependencies for any signs of compromise.
Yes, regularly audit your dependencies using tools like Vulert, which can alert 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 any signup.