Malicious Code Injection in riyanto-poke15: A Threat to npm Users
Summary
MAL-2025-165120: Malicious code in riyanto-poke15 (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-poke15 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 distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in riyanto-poke15 stems from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores for token rewards, while simultaneously polluting the npm registry with potentially harmful packages. The ramifications include compromised security for applications relying on this package, as well as the risk of inadvertently using malicious derivatives.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke15
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 prevent the installation of the riyanto-poke15 package by adding it to your project's .npmrc file with the following line: 'package-lock=false'. This will help avoid using this package until a secure version is confirmed.
Conclusion
The riyanto-poke15 package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their applications for vulnerabilities. Utilizing tools like Vulert can help ensure ongoing security in your projects.
See every vulnerability recorded for riyanto-poke15 →
FAQ
Riyanto-poke15 is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the installation of malicious code, which may compromise the security and integrity of your application.
You should remove the package from your project immediately and check for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.