Malicious Code Injection in riyanto-119 Package: A Threat to npm Ecosystem
Summary
MAL-2025-165103: Malicious code in riyanto-119 (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-119 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package was identified as part of a malicious campaign that aimed to exploit the npm registry by flooding it with derivative packages. The primary functionality of such packages is to participate in token reward schemes, but they come with significant risks due to their malicious nature.
Vulnerability Detail
The vulnerability in the riyanto-119 package stems from its inclusion in a campaign that utilizes autopublish scripts to generate and publish numerous derivative packages with randomized names. This behavior not only inflates developer reputation scores for token rewards but also modifies the package.json file to remove private flags and change version numbers. The continuous republishing of these variants pollutes the npm registry, leading to potential security risks for developers who unknowingly integrate these malicious packages into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-119
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 monitor your project dependencies for vulnerabilities using tools like Vulert. By utilizing the Vulert playground, you can check if your application is affected by this vulnerability without requiring any installation or signup. Simply upload your package-lock.json file to receive real-time alerts on open-source vulnerabilities.
Conclusion
The riyanto-119 package poses a significant threat to the npm ecosystem due to its malicious code and the potential for widespread impact on projects that integrate it. It is crucial for developers to remain vigilant, regularly monitor their dependencies, and take immediate action to remove any affected packages.
See every vulnerability recorded for riyanto-119 →
FAQ
The riyanto-119 package is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to the injection of malicious code into your project, potentially compromising its security and integrity.
You should immediately uninstall the riyanto-119 package and check your project for any other potentially malicious dependencies.
Yes, regularly monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Yes, you can use the Vulert playground to analyze your package-lock.json file for vulnerabilities without any installation or signup.